Skip to content

Commit d43c79d

Browse files
committed
if we don't find d.e.* matches, keep looking normally.
1 parent c49310d commit d43c79d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

custom_components/pyscript/trigger.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,8 @@ async def trigger_watch(self):
831831
attrib_old_val = getattr(func_args['old_value'], attribute, None)
832832
if attrib_old_val != attrib_val:
833833
trig_ident_change = True
834-
else:
834+
835+
if trig_ident_change == False:
835836
for var in self.state_trig_ident:
836837
var_pieces = var.split('.')
837838
if len(var_pieces) == 2 and var == func_args['var_name']:

0 commit comments

Comments
 (0)