I’m looking for the easiest, newbie-friendly way of creating a custom: button-card to to toggle between 50% brightness and off. It is easy to toggle between on and off, and easy to create a button that turns on a light at 50%. Is there an easy way for one button to do both?
I have two dozen automations, some scenes, just one script and no templates so far, happy to learn more. I regularly program in python and javascript, not particularly well, and html and css.