Cleanup Insteon code issues (#86173)

Clean up code issues
This commit is contained in:
Tom Harris 2023-01-18 18:27:59 -05:00 committed by GitHub
parent 0dabbcfca1
commit 353638426e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View File

@ -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
await devices.async_load(id_devices=1, load_modem_aldb=load_aldb)
for addr in devices:
for addr in list(devices):
device = devices[addr]
flags = True
for name in device.operating_flags:

View File

@ -55,12 +55,6 @@ def async_load_api(hass):
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):
"""Register the Insteon frontend configuration panel."""
# Add to sidepanel if needed