Open jamorenom opened 4 months ago
Hey, glad you like it! Hmm I'm not following in your code. It seems you have not defined any styles for the icon? And also looks like you have doubled some things? Can you paste the code in proper format so it's easier to read? or Pastebin and share the link?
Thank you on your quick response. Here it is: https://pastebin.com/X8vRfGnX
This is how the card looks like when the alarm is triggered
I just pasted your code without changing anything and it works just fine. Are you sure you installed Alarmo correct?
I just pasted your code without changing anything and it works just fine. Are you sure you installed Alarmo correct?
Thank you for your answer. Maybe I'm missing something from your minihass theme (I'm not using it) I'm just using the code from your security card. Alarmo Is working fine (when I use it with its own card, it works fine).
Your card works perfect, just when the alarm is triggered I can't make it work.
Alarm triggered:
oh okay now I understand. I have not actually though about the triggered state :) I should design for it. Is the state called "triggered"?
oh okay now I understand. I have not actually though about the triggered state :) I should design for it. Is the state called "triggered"?
Yes, "triggered". It happens when your alarm is armed and you activate one of your triggers/sensors (example, open a door)
Here an example
add this next to the other states and define the styles you wish to have
- value: triggered
add this next to the other states and define the styles you wish to have
- value: triggered
Thank you for all your answers!
this is my final card, hope you like it:
Congratulations on your amazing job here! I need your help, basically I "recreated" your security card and added it into my dashboard, everything works like a charm except for the "triggered" version of the card, it just turns black, card doesn't show any kind of message/icon. What am I doing wrong?
Thank you in advance
type: custom:button-card entity: alarm_control_panel.alarmo show_name: false show_icon: false show_label: true show_state: false tap_action: action: more-info styles: grid: