diff --git a/custom_components/ithodaalderop/binary_sensor.py b/custom_components/ithodaalderop/binary_sensor.py index f9c3d2b..8148bfd 100644 --- a/custom_components/ithodaalderop/binary_sensor.py +++ b/custom_components/ithodaalderop/binary_sensor.py @@ -55,7 +55,7 @@ async def async_setup_entry( sensors.append(IthoBinarySensor(description, config_entry)) if config_entry.data[CONF_ADDON_TYPE] == "hrueco": - for description in HRU350BINARYSENSORS: + for description in HRUECOBINARYSENSORS: description.key = f"{MQTT_BASETOPIC["hrueco"]}/{MQTT_STATETOPIC["hrueco"]}" sensors.append(IthoBinarySensor(description, config_entry)) diff --git a/custom_components/ithodaalderop/sensor.py b/custom_components/ithodaalderop/sensor.py index 2b60456..be130c7 100644 --- a/custom_components/ithodaalderop/sensor.py +++ b/custom_components/ithodaalderop/sensor.py @@ -31,14 +31,13 @@ UNITTYPE_ICONS, WPU_STATUS, ) - from .definitions import ( AUTOTEMPROOMSENSORS, AUTOTEMPSENSORS, CVESENSORS, - LASTCMDSENSORS, HRU350SENSORS, HRUECOSENSORS, + LASTCMDSENSORS, WPUSENSORS, IthoSensorEntityDescription, )