From 12b7091e906d9e5f2f7a70528f002319795c98a0 Mon Sep 17 00:00:00 2001 From: Thomas Francis Jr Date: Wed, 11 Sep 2024 13:28:07 -0400 Subject: [PATCH] Remove unnecessary else case --- custom_components/ics_calendar/calendar.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/custom_components/ics_calendar/calendar.py b/custom_components/ics_calendar/calendar.py index 92fe3db..48446bf 100644 --- a/custom_components/ics_calendar/calendar.py +++ b/custom_components/ics_calendar/calendar.py @@ -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