Skip to content

Commit 23ea59d

Browse files
committed
fix: add variable and feedback updates on Locked state update events
1 parent ecea41f commit 23ea59d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ class AjaKumoInstance extends InstanceBase {
7070
break
7171
case 'Locked':
7272
this.destination_locked[dest_update[1]] = x.int_value == 1
73+
this.setDynamicVariable(`dest_${dest_update[1]}_locked`, x.int_value == 1)
74+
this.checkFeedbacks('destination_locked')
7375
break
7476
case '1':
7577
case '2':

0 commit comments

Comments
 (0)