What's a good way to setup a sleep mode like in a hotel where you hit a button and everything turns off? I currently have a script in my configuration.yaml to do it but curious if it may be easier to do it another way like as a scene or in pyscript (which I use quite a bit). Also I'd like a corresponding "evening" mode where it will turn on certain lights in the apartment and maybe turn on some music?
145 alias: "Turn Off Everything"
146 sequence:
147 - service: light.turn_off
148 target:
149 entity_id:
150 - light.bedroom
151 - light.desk
152 - light.kitchen
153 - light.living_room
154 - light.bathroom
155 - service: media_player.turn_off
156 target:
157 entity_id:
158 - media_player.denon_avr_s760h
159 - media_player.shieldtv
160 - media_player.lg_tv_living_room```