Skip to content

Commit 67c818c

Browse files
authored
Add comment to trigger base class (home-assistant#168882)
1 parent 5927f50 commit 67c818c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

homeassistant/helpers/trigger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ def call_action() -> None:
499499
)
500500

501501
if not self._duration:
502+
# Call action immediately if duration is not specified or 0
502503
call_action()
503504
return
504505

0 commit comments

Comments
 (0)