Skip to content

Commit

Permalink
Mention also rule id
Browse files Browse the repository at this point in the history
Identification by name is not working when same name is applied to multiple rules (Hue Essentials)
  • Loading branch information
mariusmotea authored Dec 21, 2023
1 parent 09b5461 commit 938d1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BridgeEmulator/functions/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rulesProcessor(device, current_time):
for action in rule.actions:
actionsToExecute.append(action)
else: #if ddx rule
logging.info("ddx rule " + rule.name + " will be re validated after " + str(rule_result[1]) + " seconds")
logging.info("ddx rule " + rule.id_v1 + ", name: " + rule.name + " will be re validated after " + str(rule_result[1]) + " seconds")
Thread(target=ddxRecheck, args=[rule, device, current_time, rule_result[1], rule_result[2]]).start()
for action in actionsToExecute:
urlPrefix = "http://localhost/api/local"
Expand Down

0 comments on commit 938d1c6

Please sign in to comment.