mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Do not show analytics on integrations using an IoT standard (#25347)
This commit is contained in:
parent
bb91e10a9e
commit
3954ed3f30
@ -34,13 +34,17 @@
|
|||||||
{%- if page.ha_brand -%}
|
{%- if page.ha_brand -%}
|
||||||
The {{ page.title | default: page.name }} brand was introduced in Home Assistant {{ page.ha_release | default: "unknown" }}.
|
The {{ page.title | default: page.name }} brand was introduced in Home Assistant {{ page.ha_release | default: "unknown" }}.
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
The {{ page.title | default: page.name }} {{ page.ha_integration_type | default: "integration" }} was introduced in Home Assistant {{ page.ha_release | default: "unknown" }},
|
The {{ page.title | default: page.name }} {{ page.ha_integration_type | default: "integration" }} was introduced in Home Assistant {{ page.ha_release | default: "unknown" }}
|
||||||
and it's used by <a title="Open analytics.home-assistant.io" href="https://analytics.home-assistant.io/integrations" target="_blank" rel="noopener">
|
|
||||||
|
|
||||||
{% if percentage < 1 %}
|
{%- if page.ha_iot_standard -%}
|
||||||
{{ active_installations }}</a> active installations.
|
.
|
||||||
{% else %}
|
{%- else -%}
|
||||||
{{ percentage | remove: ".0" }}%</a> of the active installations.
|
, and it's used by <a title="Open analytics.home-assistant.io" href="https://analytics.home-assistant.io/integrations" target="_blank" rel="noopener">
|
||||||
|
{% if percentage < 1 %}
|
||||||
|
{{ active_installations }}</a> active installations.
|
||||||
|
{% else %}
|
||||||
|
{{ percentage | remove: ".0" }}%</a> of the active installations.
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- if page.ha_iot_class %}
|
{%- if page.ha_iot_class %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user