mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Include hardware integrations in the cached integrations.json
(#139001)
Include hardware integrations in the cached integrations JSON
This commit is contained in:
parent
c3bab1f316
commit
5f093180ab
@ -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,
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user