There was an error while loading. Please reload this page.
1 parent 1c99e60 commit df41425Copy full SHA for df41425
2 files changed
custom_components/homeduino/binary_sensor.py
@@ -73,7 +73,7 @@ async def async_setup_entry(
73
id = int(config_entry.data.get(CONF_RF_ID))
74
unit = config_entry.data.get(CONF_RF_UNIT)
75
if unit is not None:
76
- unit = int(unit)
+ unit = int(unit)
77
78
identifier = f"{protocol}-{id}"
79
@@ -226,4 +226,3 @@ def _handle_coordinator_update(self) -> None:
226
)
227
228
self.async_write_ha_state()
229
-
custom_components/homeduino/sensor.py
@@ -390,4 +390,3 @@ def _handle_coordinator_update(self) -> None:
390
self._attr_available = False
391
392
393
0 commit comments