KoljaWindeler / ics

Integration that displays the next event of an ics link (support reoccuring events)
51 stars 12 forks source link

Trigger on start #34

Open 4utomator opened 2 years ago

4utomator commented 2 years ago

Hi Kolja, thanks for your work. Everything works great so far. Do you have any existing code or experience with using the sensor data as a binary sensor (true during the time start - end) ? My intention is to use it as a trigger for an automation, so a date & time match would also work.

Thanks for your help to such a beginner question.

KoljaWindeler commented 2 years ago

I haven't tested it ... but you might be able to enable "show ongoing" and change the format of the time to something that will contain the exact time .. (hours, minutes, seconds) and create a template sensor based on that data?