Skip to content

Commit 50a083a

Browse files
committed
skip ident change check if also in ident_any
1 parent cc9615d commit 50a083a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

custom_components/pyscript/trigger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,8 @@ def ident_values_changed(self, func_args):
686686
old_value = func_args['old_value']
687687
var_name = func_args['var_name']
688688
for check_var in self.state_trig_ident:
689+
if check_var in self.state_trig_ident_any:
690+
continue
689691
var_pieces = check_var.split('.')
690692
if len(var_pieces) == 2 and check_var == var_name:
691693
if value != old_value:

0 commit comments

Comments
 (0)