mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +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,
|
"config_flow": true,
|
||||||
"iot_class": "cloud_polling"
|
"iot_class": "cloud_polling"
|
||||||
},
|
},
|
||||||
|
"hardkernel": {
|
||||||
|
"name": "Hardkernel",
|
||||||
|
"integration_type": "hardware",
|
||||||
|
"config_flow": false,
|
||||||
|
"single_config_entry": true
|
||||||
|
},
|
||||||
"harman_kardon_avr": {
|
"harman_kardon_avr": {
|
||||||
"name": "Harman Kardon AVR",
|
"name": "Harman Kardon AVR",
|
||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
@ -2639,6 +2645,23 @@
|
|||||||
"integration_type": "virtual",
|
"integration_type": "virtual",
|
||||||
"supported_by": "netatmo"
|
"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": {
|
"homee": {
|
||||||
"name": "Homee",
|
"name": "Homee",
|
||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
@ -5199,6 +5222,11 @@
|
|||||||
"raspberry_pi": {
|
"raspberry_pi": {
|
||||||
"name": "Raspberry Pi",
|
"name": "Raspberry Pi",
|
||||||
"integrations": {
|
"integrations": {
|
||||||
|
"raspberry_pi": {
|
||||||
|
"integration_type": "hardware",
|
||||||
|
"config_flow": false,
|
||||||
|
"name": "Raspberry Pi"
|
||||||
|
},
|
||||||
"rpi_camera": {
|
"rpi_camera": {
|
||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"config_flow": false,
|
"config_flow": false,
|
||||||
|
@ -95,7 +95,6 @@ def _populate_brand_integrations(
|
|||||||
integration = integrations.get(domain)
|
integration = integrations.get(domain)
|
||||||
if not integration or integration.integration_type in (
|
if not integration or integration.integration_type in (
|
||||||
"entity",
|
"entity",
|
||||||
"hardware",
|
|
||||||
"system",
|
"system",
|
||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
@ -171,7 +170,7 @@ def _generate_integrations(
|
|||||||
result["integration"][domain] = metadata
|
result["integration"][domain] = metadata
|
||||||
else: # integration
|
else: # integration
|
||||||
integration = integrations[domain]
|
integration = integrations[domain]
|
||||||
if integration.integration_type in ("entity", "system", "hardware"):
|
if integration.integration_type in ("entity", "system"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if integration.translated_name:
|
if integration.translated_name:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user