Skip to content

Commit df41425

Browse files
committed
black formatting
1 parent 1c99e60 commit df41425

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

custom_components/homeduino/binary_sensor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async def async_setup_entry(
7373
id = int(config_entry.data.get(CONF_RF_ID))
7474
unit = config_entry.data.get(CONF_RF_UNIT)
7575
if unit is not None:
76-
unit = int(unit)
76+
unit = int(unit)
7777

7878
identifier = f"{protocol}-{id}"
7979
if unit is not None:
@@ -226,4 +226,3 @@ def _handle_coordinator_update(self) -> None:
226226
)
227227

228228
self.async_write_ha_state()
229-

custom_components/homeduino/sensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,4 +390,3 @@ def _handle_coordinator_update(self) -> None:
390390
self._attr_available = False
391391

392392
self.async_write_ha_state()
393-

0 commit comments

Comments
 (0)