Skip to content

Commit 9e88997

Browse files
Remove TODO comment regarding state check for CalendarEventBinarySensor
1 parent 5129126 commit 9e88997

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

custom_components/calendar_event/binary_sensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ async def _update_state(self) -> None:
137137

138138
self.async_write_ha_state()
139139

140-
# TODO: If state is on, then we need to check every minute in case our event is not the one that turned it on
141140
if calendar_state.state == "on":
142141
now = datetime.now()
143142
seconds_until_next_minute = 60 - now.second

0 commit comments

Comments
 (0)