lovelace-mushroom icon indicating copy to clipboard operation
lovelace-mushroom copied to clipboard

feat(alarm): show keypad only for disarming

Open rogelio-o opened this issue 1 year ago • 4 comments

Description

Add a new configuration property in the alarm card to show the keypad only for disarming (when the alarm is not disarmed).

Related Issue

787 - [Feature]: show keypad only for disarming in alarm card

Motivation and Context

To improve the alarm card. There are alarms that can be configured only for requiring the code for disarming (e.g., securitas)

How Has This Been Tested

With my Home Assistant instance.

Types of changes

  • [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
  • [X] 🚀 New feature (non-breaking change which adds functionality)
  • [ ] 🌎 Translation (addition or update a translation)
  • [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • [X] My code follows the code style of this project.
  • [X] My change requires a change to the documentation.
  • [X] I have updated the documentation accordingly.
  • [X] I have tested the change locally.

rogelio-o avatar Oct 25 '22 18:10 rogelio-o

Can we transform the boolean to a select (always, never, disarm) ? (empty default value will be never)

piitaya avatar Oct 26 '22 15:10 piitaya

Can we transform the boolean to a select (always, never, disarm) ? (empty default value will be never)

Sure! Done in 5a0f502.

rogelio-o avatar Oct 27 '22 18:10 rogelio-o

@rogelio-o was this actually released? No show_keypad_disarm option on my end.

fliespl avatar May 03 '23 16:05 fliespl

@piitaya I've rebased the branch and fixed the conflicts. Can you take a look? Thanks

rogelio-o avatar Oct 15 '23 16:10 rogelio-o