Closed pmkruyen closed 1 year ago
I checked, but putting the switch in a restriction card has no effect.
Because this is wrong:
restrictions:
block: true
condition:
value: 'on'
entity: input_boolean.ceiling_fan_state
operator: '=='
https://github.com/iantrich/restriction-card#block-options
Should be:
restrictions:
block:
condition:
value: 'on'
entity: xxxxxxxxxxxxxxxxxxxxxx
operator: '=='
Thanks!
👋
I want to lock/unlock a slider depending on the value of a boolean input (switch).
‘Unfortunately, the code below does not work. Is it because the switch is not in a restriction card or is my code incorrect?
Thanks for your help.