I want to make something that by means of a button card I can switch off all defined devices that are also on at the same time. This is useful if, for example, I go to bed and then don’t forget anything to turn it off
For example, I have the following entities:
entities:
- light.garage_links
- light.porch_left
- light.porch_right
- light.table_left
- light.table_right
- light.standing_lamp
- light.table_tv_livingroom
- light.hue_lightstrip_plus_kitchen
- light.hue_lightstrip_plus
- light.shed
- media_player.marantz_nr1604
And if possible change the state of my climate to sleep
something with this:
entity_id: climate.toon_thermostat
hvac_mode: sleep
When I press the button, everything that is on must go out (So pressing the button again may not do anything because then everything is turned off by the first press)
There is probably someone who has also come up with something for his devices at home, I would like to hear how I can do this best and if possible with a few examples.
I have a group all_lights as well but when I go to bed I want to exclude the bedside lights from being turned off and likewise when I go out, the front porch light should remain on. So most_lights is everything minus those three and I add them if needed.