Include hardware integrations in the cached integrations.json (#139001)

Include hardware integrations in the cached integrations JSON
This commit is contained in:
puddly 2025-03-24 12:15:02 -04:00 committed by GitHub
parent c3bab1f316
commit 5f093180ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 29 additions and 2 deletions

View File

@ -2496,6 +2496,12 @@
"config_flow": true,
"iot_class": "cloud_polling"
},
"hardkernel": {
"name": "Hardkernel",
"integration_type": "hardware",
"config_flow": false,
"single_config_entry": true
},
"harman_kardon_avr": {
"name": "Harman Kardon AVR",
"integration_type": "hub",
@ -2639,6 +2645,23 @@
"integration_type": "virtual",
"supported_by": "netatmo"
},
"homeassistant_green": {
"name": "Home Assistant Green",
"integration_type": "hardware",
"config_flow": false,
"single_config_entry": true
},
"homeassistant_sky_connect": {
"name": "Home Assistant Connect ZBT-1",
"integration_type": "hardware",
"config_flow": true
},
"homeassistant_yellow": {
"name": "Home Assistant Yellow",
"integration_type": "hardware",
"config_flow": false,
"single_config_entry": true
},
"homee": {
"name": "Homee",
"integration_type": "hub",
@ -5199,6 +5222,11 @@
"raspberry_pi": {
"name": "Raspberry Pi",
"integrations": {
"raspberry_pi": {
"integration_type": "hardware",
"config_flow": false,
"name": "Raspberry Pi"
},
"rpi_camera": {
"integration_type": "hub",
"config_flow": false,

View File

@ -95,7 +95,6 @@ def _populate_brand_integrations(
integration = integrations.get(domain)
if not integration or integration.integration_type in (
"entity",
"hardware",
"system",
):
continue
@ -171,7 +170,7 @@ def _generate_integrations(
result["integration"][domain] = metadata
else: # integration
integration = integrations[domain]
if integration.integration_type in ("entity", "system", "hardware"):
if integration.integration_type in ("entity", "system"):
continue
if integration.translated_name: