Hi,
I want to create a scheduler out of an .ics file for the next upcoming event. To achieve the following:
turn on and change the color of a Zigbee bulb when a scheduled call starts. When the call ends (according to schedule) the bulb should turn off.
I integrated the .ics file with https://github.com/KoljaWindeler/ics to get the next scheduled call. but i am not able to setup a scheduler based on the info I have available…
The calendar sensor gives me the following:
start: 2022-11-01T14:30:00+01:00
end: 2022-11-01T15:00:00+01:00
remaining: 0
description: Busy
location: -
last_updated: 2022-11-01T11:27:16+01:00
reload_at: 2022-11-01T11:32:16+01:00
icon: mdi:phone
friendly_name: Call - Felix
I now want to set the schedule (a helper) to the start and end time. Based on the schedule an automation shall be triggered…
OR I simply use two time helpers, one for the start time and one for the end time to trigger an automation to turn on and change the light-color.
am I going completely into the wrong direction?