franc6 / ics_calendar

Provides an ICS (icalendar) platform for the Home Assistant calendar
Apache License 2.0
146 stars 22 forks source link

Fix for ha timezone required #97

Closed franc6 closed 1 year ago

franc6 commented 1 year ago

Fixes #90

Description of change: Changes to accommodate the new HA requirement that for events which are not all day, the event must have a time zone. This is wrong from the perspective of the calendar, since the calendar events can be "floating", so this forces those events to have the time zone, not of the person/computer viewing the event, but the time zone of the server. This is insane, but HA requires it. :(

Formatting, testing, and code coverage

Please note your pull request won't be accepted if you haven't properly formatted your source code, and ensured the unit tests are appropriate. Please note if you are not running on Windows, you can either run the scripts via a bash installation (like git-bash).