I want to have a simple alarm panel with two options: armed and disarmed
How can I change this?
This always gives me armed away, armed night, armed home and disarmed.
Also how can I sync this with an input boolean properly?
The alarm panel and the input boolean should always have the same state: on/armed and off/disarmed no matter which side changes.
These are the default settings, however I assume you will be using the alarm control panel in the front end and as such you can edit the card to only display the options you want:
You could then set up and automation with 4 triggers:
1: Alarm goes to armed
2: Alarm goes to disarmed
3: Boolean goes to on
4: Boolean goes to off
Then use a choose to action the changes eg:
1: call service, set input Boolean to on
2: call service, set input Boolean to off
3: call service, set alarm to armed
4: call service, set alarm to disarmed
You will want to add some conditions as well to prevent if looping and logging errors / warnings
Not in front of a computer right now so won’t attempt to give a full example, but if you need an example just shout and I will try to post an example later
Now I still see home_armed available in the frontend which I can edit in the card - thanks for that.
Interestingly, once included in HomeKit I only get the two states. So this is the solution.