So I’m setting up a goodnight scene witch I want to turn off all the lights in the house and set the alarm to armed home. My current configuration is this but I’m not getting it to work with the alarm, do I need to specify the code or something? Any help would be greatly appriciated!
scene:
name: Goodnight
entities:
group.lights_view: off
switch.vardagsrum__subwoofer: off
alarm_control_panel.my_home_alarm: armed_home
Just wondering, why do you want to do it in a scene and not in an automation? I only use the scenes for lighting, and set the alarm in the automation that triggers the scene.
Hey! Good question, basically my end goal is that I want to tap a z-wave button next to my bed that triggers a scene that turns on the alarm, turns off all lights, turn off TV etc. We go to bed at very different times every night so I can’t really set an automation based on time, so this is the best solution I have come up with :-/
Ahh interesting. I’ve been trying to figure out how to make setting the alarm at night easy also. ATM I use the iOS app to arm the alarm, and arming the alarm triggers the scenes etc. not the other way around, as I want the alarm setting to drive everything else. You could still trigger the automation from the button though?
I was also thinking perhaps to use Alexa to do it to save having to use the app.
Yeah I have it as an automation instead. With the button as the trigger and the action to turn on the alarm and activate a certain scene for the lights.
It was very early in my HA journey so I didn’t know that scenes are mainly just for lights!