JonathanCasey / home-assistant-config

Configuration for hassio / home assistant
3 stars 0 forks source link

Dim levels by time of day, conditions, etc. for each in spotlight #146

Open JonathanCasey opened 3 years ago

JonathanCasey commented 3 years ago

This is the existing methodology, but on steroids, and is one of the last major pieces of #140.

Different rooms would have different min/max levels, so these need to be implemented.

Further, these may change based on the time of day. Recommended to have morning, mid-day, and night time thresholds and values, along with a flag whether to ramp up/down or make static after time reached. Can skip some.

If it does flag to ramp up/down, this should then be modified by a time-of-day, day-of-year modifier based on the actual sun.

Finally (maybe?), these morning, mid-day, night-time time values should be refactored into a single location so they could be changed to coordinate the house. ...though then maybe should also support either using these global values or specific time values / relative time values for certain rooms?

JonathanCasey commented 3 years ago

Should check out Adaptive Lighting Custom Component (being merged into Core) -- might do some of the heavy lifting.