diff --git a/apps/alarmclock.py b/apps/alarmclock.py index fa1ce9d..bf7d3ac 100644 --- a/apps/alarmclock.py +++ b/apps/alarmclock.py @@ -105,9 +105,9 @@ class AlarmClock(SmartObject): for component in calendar_ubi.walk(): if component.name == "VEVENT": event_summary = component.get('summary') - if event_summary == "Away": event_type = EventType.Vacation - elif event_summary == "Busy": event_type = EventType.Busy - elif event_summary == "Tentative": event_type = EventType.Tentative + if event_summary == "Away" or event_summary == "Absent(e)": event_type = EventType.Vacation + elif event_summary == "Busy" or event_summary == "Occupé(e)": event_type = EventType.Busy + elif event_summary == "Tentative" or event_summary == "Provisoire": event_type = EventType.Tentative elif event_summary == "Working elsewhere" or event_summary == "Free": event_type = EventType.Flex else: event_type = None