iantrich / restriction-card

🔒 Apply restrictions to Lovelace cards
MIT License
254 stars 22 forks source link

Problem with Block option #113

Closed floh2307 closed 2 months ago

floh2307 commented 2 months ago

Hello,

I have a little problem with the coding for the restriction card. I will lock the entities if the alarm system is armed, but it didn't work. Can somebody help me?

type: custom:restriction-card
card:
  type: entities
  entities:
    - entity: cover.tor_1_3
    - entity: cover.tor_2_3
    - entity: cover.tor_3_3
    - entity: cover.tor_4_3
restrictions:
  block:
    condition:
      entity: alarm_control_panel.garage_hebebuhne
      operator: '=='
      value: armed

UPDATE: Problem solved
ildar170975 commented 2 months ago

UPDATE: Problem solved