Lovelace: Alarm card

AhmadK,

any thoughts on why this error is coming up?

Cannot add property scale, object is not extensible

type: 'custom:alarm_control_panel-card'
entity: alarm_control_panel.alarm
show_keypad: true
title: My Alarm
style: '--alarm-color-disarmed: var(--label-badge-blue);'
states:
  - arm_home
  - arm_away

check out this info and a possible solution

I am wondering is there a way that if a sensor is open it will not allow the alarm to be activated? I have tried creating an automation but cant figure it out. Thanks!

Hi guys!
Is It possible to chenge the text of this button?

button

This is my card configuration on Lovelace:

entity: alarm_control_panel.control_state_home
name: ALLARME
states:
  - arm_away
  - disarm
type: alarm-panel

Thanks

+1
I have the same question! As far as i know is hardcoded into Hassio Core, i want to know how to access hassio core files to edit that, but i found nothing yet. I will tell you if i find anything

If you are using this custom one, you may be able to modify alarm_control_panel-card.js in your local directory. Check out the last entries in the file.

Oh yes i know, but i have this issue using this card : Cannot add property scale, object is not extensible
A guy answer Hollapm which seem to have the same issue, but i couldnt find a way to fix it.
Any tutorial on how to fix it will be aprecciated!

where can i find this file? I can only see the / config folder

That file is the custom card, you need to install that card and then modify it (or modify it and the install it), there is a explanation on how to do it here: Lovelace: Alarm card

not using a custom card, but core alarm-panel card, this is the correct thread?

let me please ask:

is there any specific reason the bypass button / state are called custom-bypass

seems so obvious this should be called arm_bypass, and show that on the button too?

  - type: alarm-panel
    name: Alarm panel
    entity: alarm_control_panel.ha_rpi4_alarm
    states:
      - arm_home
      - arm_away
      - arm_night
      - arm_custom_bypass <== arm_bypass

must say I am confused to the use of the bypass, would have thought it is to bypass the alarm, in which case it should be armed_bypass_alarm? what is the difference now between arm_xx and arm_bypass_alarm.

sorry id this sounds too noobish, but like get a full grasp of things here. https://www.home-assistant.io/integrations/manual doenst really help tbh, because that only speaks of armed functionality?

same goes for the services of course, why not use alarm_control_panel.alarm_arm_bypass ?

the Alarm Panel card is already included in Home Assistant, I didn’t have to install it.

Are you sure I can edit?

Nono, you have the default alarm panel, and this custom alarm panel type: custom:alarm_control_panel-card, they are different! The custom one cand be edited with a lot more option than the default.

Hi everyone i just installed the card but the view is ugly… can someone help?

immagine

@ciotlosm hi, the link in first post is broken…
Have you a new link ?
Thanks

1 Like

It looks like the repo isn’t even on github anymore.

Guys Whole point of Alarm Panel is to have security, but when installed in lovelace and armed it does not prevent access to the HA, or at least I couldn’t configure it so.

Is it possible to get that panel to blure everything else till correct pin entered? like modal window in html…

You could use a conditional card, which shows only the alarm panel when the alarm is armed and otherwise shows all the other cards.

You’d need to add this condition to each lovelace view.

oho, that is something new. Can you show how to add condition to hide lovelace views in particular Development tools, Supervisor and Configuration?

Developer Tools, Supervisor and Configuration are not lovelace views they are system views. To hide them you need something like kiosk beowser or similar.

I need solution to blur/disable everything for everyone including admin and on every machine where HA is tried to be accessed if correct password is not entered in Alarm Security Panel - that is it’s purpose not just hide other cards in lovelace using condition. Can that feature be added into this cart? I mean I guess this would have more sense, sorry, maybe you are not able to help. Thanks for you suggestions dude.