home-assistant.io/source/integrations.json
Joakim Sørensen 1a7afc8203
Add fallback for missing integration_type (#32807)
* Add fallback for missing integration_type

* remove comma
2024-05-16 16:34:59 +02:00

19 lines
592 B
JSON

---
layout: none
---
{
{%- for integration in site.integrations %}
{%- assign target = integration.ha_domain | append: ".markdown" | prepend: "_integrations/" -%}
{%- if integration.path == target %}
"{{integration.ha_domain}}": {
"title": "{{integration.title}}",
"description": "{{ integration.description }}",
"quality_scale": "{{integration.ha_quality_scale}}",
"iot_class": "{{integration.ha_iot_class}}",
"integration_type": "{{integration.ha_integration_type | default: 'hub'}}"
}{%- if forloop.last -%}{%- else -%},{%- endif -%}
{%- endif -%}
{%- endfor %}
}