Skip to content

Conversation

@olibos
Copy link

@olibos olibos commented Oct 10, 2024

Hello,

First of all, thank you for this excellent blueprint!

I wanted to share my use case, as I'm among those who use the Night Alarm feature. In my setup, the alarm is automatically armed and disarmed based on time and specific conditions. I’ve reviewed #29 and #28, and in my case, I prefer having a distinct "night" mode. This is because the keypad is close to the bedrooms, and I don’t want it announcing "Home and armed" or "Disarmed" while my children are asleep. However, I still appreciate the visual indicator (red icon) to remind me the alarm is active when I open the door late at night.

Here's how I've adjusted the automation to fit my needs:

  • Added two new input fields for configuring separate volume levels depending on the current alarm mode (night vs normal).
  • Created two new triggers: armed_night and armed_vacation, which are mapped to the existing handlers (armed_home and armed_away) to keep the logic simple and avoid over-complication.
  • Modified the armed_home and disarm handlers to adjust the volume based on normal or night modes.

Note: Since Home Assistant is transitioning from "service" to "action" syntax, I've refactored the automation to align with this update.

Don't hesitate to try it and give some feedback! 😊
Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

- Volumes based on alarm mode
- Alias armed_night to armed_home
- Alias armed_vacation to armed_away
- Refactor keypad automation actions to use "action" instead of "service" actions.
@olibos olibos mentioned this pull request Oct 10, 2024
@Idaho947
Copy link

Idaho947 commented Nov 9, 2024

It works very well for me ! @ImSorryButWho , I thinks it's a good idea to include this modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants