Closed byff closed 4 years ago
No, it can only be used on the row/card
I was searching for a solution and found your post here with a similar issue. But I found a working solution for restriction-card and multiple-entity-row. The only caveat it will only block the entire row, not the individual toggles.
Feel free to include this snippet in your list of examples.
type: entities
entities:
- card:
entity: group.bedroom_lamps
type: custom:multiple-entity-row
show_state: false
secondary_info: last-changed
entities:
- entity: light.left_lamp
toggle: true
- entity: light.right_lamp
toggle: true
restrictions:
block:
exemptions:
- user: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
type: 'custom:restriction-card'
row: true
For example,I used ‘multiple-entity-row’ card,now I want to block toggle2,can this be achieved? I have many try and none works.
Sorrry for my poor English and Thank you very much for this great and really useful card!