Updated ics_calendar to restore compatibility with HA

This commit is contained in:
2025-05-08 10:02:22 +02:00
parent fef90d5a78
commit ca599eab7a
21 changed files with 1329 additions and 234 deletions

View File

@@ -1,4 +1,5 @@
"""Utility methods."""
from datetime import date, datetime
@@ -9,7 +10,7 @@ def make_datetime(val):
return val
def compare_event_dates( # pylint: disable=R0913
def compare_event_dates( # pylint: disable=R0913,R0917
now, end2, start2, all_day2, end, start, all_day
) -> bool:
"""Determine if end2 and start2 are newer than end and start."""