Open andrewjswan opened 2 weeks ago
I have no experience with the calendar entity, so I do not know whether retrieving all the needed information is possible (from the frontend component).
You can try to look at maps that work with the weather, there is the same principle, first a function that receives a list of forecasts, then this list is displayed.
https://github.com/home-assistant/frontend/blob/dev/src/data/weather.ts
Or maybe this help https://github.com/totaldebug/atomic-calendar-revive/blob/2e6ea00e3455543fdad0a82a9a6a83fb03fb4e10/src/lib/event.func.ts#L146
Add support for the calendar entity, with the ability to determine the state when the light will be off, possibly off, or there will be no shutdowns. Examples for calendars:
https://github.com/szheliab/dtek-blackout-schedule-calendars
https://gitlab.com/m03geek/dtek-blackout-schedule/