My wife likes to set/change colors/brightness of our lights, based on certain conditions/events, but
she doesn’t want to fiddle around in the HA interface or yaml itself. I created some buttons on dashboards, so she can set the colors/brightness of every light, and can even change the conditions and events herself. And this only with a few extra buttons. She can even store these “settings”, and view them on a custom dynamic HTML page.
You will learn several things in this tutorial:
– Use procedures / custom names etc …
– Use PyScript
– create dynamic HTML
– use MySQL (running in a separate docker container), and do some queries and exports.
– use helpers, to set/trigger certain actions

