feat[mlock]: toggle output on tag scan
This commit is contained in:
parent
11e3c719b8
commit
8508507954
|
@ -121,7 +121,7 @@ rc522_spi:
|
||||||
condition:
|
condition:
|
||||||
lambda: 'return id(may_switch_output);'
|
lambda: 'return id(may_switch_output);'
|
||||||
then:
|
then:
|
||||||
- switch.turn_on: mlock_${name_of_board}_switch
|
- switch.toggle: mlock_${name_of_board}_switch
|
||||||
else:
|
else:
|
||||||
- repeat:
|
- repeat:
|
||||||
count: 3
|
count: 3
|
||||||
|
|
Loading…
Reference in New Issue