Export Quality scale and IoT class for integrations (#17233)

This commit is contained in:
Joakim Sørensen 2021-04-02 14:08:43 +02:00 committed by GitHub
parent 52f1c449e0
commit f2f45a0025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,9 @@ layout: none
{%- assign target = integration.ha_domain | append: ".markdown" | prepend: "_integrations/" -%}
{%- if integration.path == target %}
"{{integration.ha_domain}}": {
"title": "{{integration.title}}"
"title": "{{integration.title}}",
"quality_scale": "{{integration.ha_quality_scale}}",
"iot_class": "{{integration.ha_iot_class}}"
}{%- if forloop.last -%}{%- else -%},{%- endif -%}
{%- endif -%}
{%- endfor %}