{% assign active_installations = site.data.analytics_data.integrations[page.ha_domain] | default: 0 %} {% assign percentage = 100.0 | times: active_installations | divided_by: site.data.analytics_data.reports_integrations | round: 1 %}
{%- if page.logo -%} {%- else -%} {%- endif -%} {%- if page.ha_config_flow and page.ha_domain -%} {% my config_flow_start badge domain=page.ha_domain %} {%- endif -%}
The {{ page.name | default: page.title }} integration was introduced in Home Assistant {{ page.ha_release | default: "unknown" }}, and it's used by {% if percentage < 1 %} {{ active_installations }} active installations. {% else %} {{ percentage | remove: ".0" }}% of the active installations. {% endif %} {%- if page.ha_iot_class %} Its IoT class is {{ page.ha_iot_class }} {%- endif -%} {%- if page.ha_quality_scale %} {% if page.ha_iot_class %} and {% else %} It {% endif %} scores {{page.ha_quality_scale}} on our quality scale {%- endif -%}. {% if page.ha_domain %} You can find the source for this integration on GitHub. {%- endif -%}
{%- if page.ha_category.first -%}

Categories

{%- endif -%}