Skip to content

Commit

Permalink
Merge pull request #1198 from dbrown99c/bugfix/fix-trigger_action
Browse files Browse the repository at this point in the history
Fixed a fatal bug on the trigger_action.py
  • Loading branch information
jakaskerl authored Sep 2, 2024
2 parents 6901f74 + 9892ca7 commit 3fe8c58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def new_packet_trigger(self, packet: FramePacket) -> None:
if self.trigger.condition(packet):
trigger_time = datetime.now()
if trigger_time - self.last_trigger_time > self.trigger.cooldown:
logging.debug(f'Triggered at {trigger_time}')
LOGGER.debug(f'Triggered at {trigger_time}')
self.last_trigger_time = trigger_time
self.action.activate()

Expand Down

0 comments on commit 3fe8c58

Please sign in to comment.