nielsfaber / alarmo-card

Home Assistant card for controlling the Alarmo component
98 stars 18 forks source link

Control Panel Code #1

Closed forbitel closed 2 years ago

forbitel commented 2 years ago

Checklist

Proposal

Additional info

[some example of how the new functionality should look like]

nielsfaber commented 2 years ago

I agree this is an improvement. I will see if I can put some timer in the card.

Wesleyl89 commented 2 years ago

The code also stays when you have it within a conditional card. For example I have this:

type: conditional
conditions:
  - entity: alarm_control_panel.home
    state: disarmed
card:
  type: custom:alarmo-card
  entity: alarm_control_panel.home
  keep_keypad_visible: false
  button_scale: 1.5

This wil make it dissapear immediately once you entered the code and click 'arm away'. Once you disarm the alarm again it will show up but it still has the code entered. I've checked HA's own alarm panel and this one doesn't do that.

If you do it in the lovelace edit mode it will clear the code because it remains on the screen.