Skip to content

Commit

Permalink
Remove unnecessary else case
Browse files Browse the repository at this point in the history
  • Loading branch information
franc6 committed Sep 11, 2024
1 parent aef8606 commit 12b7091
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/ics_calendar/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ def __init__(self, device_data):
self._calendar_data.set_timeout(
device_data[CONF_CONNECTION_TIMEOUT]
)
else:
self._calendar_data.set_timeout(
device_data[CONF_CONNECTION_TIMEOUT]
)

async def async_get_events(
self, hass: HomeAssistant, start_date: datetime, end_date: datetime
Expand Down

0 comments on commit 12b7091

Please sign in to comment.