Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def wrapper(*args, **kwargs):
return None

# Check if method is never called or no_throttle is given
force = not throttle[1] or kwargs.pop('no_throttle', False)
force = kwargs.pop('no_throttle', False) or not throttle[1]

try:
if force or utcnow() - throttle[1] > self.min_time:
Expand Down