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