mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 17:57:55 +00:00
parent
0dabbcfca1
commit
353638426e
@ -51,7 +51,7 @@ async def async_get_device_config(hass, config_entry):
|
|||||||
|
|
||||||
load_aldb = 2 if devices.modem.aldb.read_write_mode == ReadWriteMode.UNKNOWN else 1
|
load_aldb = 2 if devices.modem.aldb.read_write_mode == ReadWriteMode.UNKNOWN else 1
|
||||||
await devices.async_load(id_devices=1, load_modem_aldb=load_aldb)
|
await devices.async_load(id_devices=1, load_modem_aldb=load_aldb)
|
||||||
for addr in devices:
|
for addr in list(devices):
|
||||||
device = devices[addr]
|
device = devices[addr]
|
||||||
flags = True
|
flags = True
|
||||||
for name in device.operating_flags:
|
for name in device.operating_flags:
|
||||||
|
@ -55,12 +55,6 @@ def async_load_api(hass):
|
|||||||
websocket_api.async_register_command(hass, websocket_reset_properties)
|
websocket_api.async_register_command(hass, websocket_reset_properties)
|
||||||
|
|
||||||
|
|
||||||
def get_entrypoint(is_dev):
|
|
||||||
"""Get the entry point for the frontend."""
|
|
||||||
if is_dev:
|
|
||||||
return "entrypoint.js"
|
|
||||||
|
|
||||||
|
|
||||||
async def async_register_insteon_frontend(hass: HomeAssistant):
|
async def async_register_insteon_frontend(hass: HomeAssistant):
|
||||||
"""Register the Insteon frontend configuration panel."""
|
"""Register the Insteon frontend configuration panel."""
|
||||||
# Add to sidepanel if needed
|
# Add to sidepanel if needed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user