Skip to content

Commit 67cc67b

Browse files
committed
cleaner syntax
1 parent d43c79d commit 67cc67b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/pyscript/trigger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ async def trigger_watch(self):
832832
if attrib_old_val != attrib_val:
833833
trig_ident_change = True
834834

835-
if trig_ident_change == False:
835+
if not trig_ident_change:
836836
for var in self.state_trig_ident:
837837
var_pieces = var.split('.')
838838
if len(var_pieces) == 2 and var == func_args['var_name']:

0 commit comments

Comments
 (0)