{% if not repository.can_install %} {% include 'modal/wrong_ha_version.html' with context %} {% endif %}
{% if repository.can_install %}
{{repository.main_action}}
{% else %} {{repository.main_action}} {% endif %} {% if repository.pending_upgrade and repository.display_version_or_commit == "version" %} CHANGELOG {% endif %} repository {% if repository.status.installed and repository.information.category == "plugin" %} {% set name = repository.information.full_name.split("/")[-1] %} OPEN PLUGIN {% endif %} {% if repository.status.installed and repository.information.uid != "172733314" %}
UNINSTALL
{% endif %}