Add fallback for missing integration_type (#32807)

* Add fallback for missing integration_type

* remove comma
This commit is contained in:
Joakim Sørensen 2024-05-16 16:34:59 +02:00 committed by GitHub
parent a4f2891c66
commit 1a7afc8203
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ layout: none
"description": "{{ integration.description }}",
"quality_scale": "{{integration.ha_quality_scale}}",
"iot_class": "{{integration.ha_iot_class}}",
"integration_type": "{{integration.ha_integration_type}}"
"integration_type": "{{integration.ha_integration_type | default: 'hub'}}"
}{%- if forloop.last -%}{%- else -%},{%- endif -%}
{%- endif -%}
{%- endfor %}