Skip to content

Commit

Permalink
Fix binary_sensor + ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-dcs committed Dec 5, 2024
1 parent 2150278 commit bd19052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/ithodaalderop/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
3 changes: 1 addition & 2 deletions custom_components/ithodaalderop/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
UNITTYPE_ICONS,
WPU_STATUS,
)

from .definitions import (
AUTOTEMPROOMSENSORS,
AUTOTEMPSENSORS,
CVESENSORS,
LASTCMDSENSORS,
HRU350SENSORS,
HRUECOSENSORS,
LASTCMDSENSORS,
WPUSENSORS,
IthoSensorEntityDescription,
)
Expand Down

0 comments on commit bd19052

Please sign in to comment.