Add network resource button entities to ISY994 and bump PyISY to 3.0.12 (#85429)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
shbatm 2023-01-08 20:45:54 -06:00 committed by GitHub
parent cdafd94550
commit a8cdb86b23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 146 additions and 36 deletions

View file

@ -9,6 +9,7 @@ from .const import (
ISY994_NODES,
ISY994_PROGRAMS,
ISY994_VARIABLES,
ISY_CONF_UUID,
PLATFORMS,
PROGRAM_PLATFORMS,
)
@ -19,7 +20,7 @@ def unique_ids_for_config_entry_id(
) -> set[str]:
"""Find all the unique ids for a config entry id."""
hass_isy_data = hass.data[DOMAIN][config_entry_id]
uuid = hass_isy_data[ISY994_ISY].configuration["uuid"]
uuid = hass_isy_data[ISY994_ISY].configuration[ISY_CONF_UUID]
current_unique_ids: set[str] = {uuid}
for platform in PLATFORMS: