Skip to content

Commit

Permalink
Fix update interval from option
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Dec 14, 2024
1 parent ecf2486 commit 2ccd0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bbox/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(
_LOGGER,
name=DOMAIN,
update_interval=timedelta(
seconds=entry.data.get(CONF_REFRESH_RATE, DEFAULT_REFRESH_RATE)
seconds=entry.options.get(CONF_REFRESH_RATE, DEFAULT_REFRESH_RATE)
),
)
self.entry = entry
Expand Down

0 comments on commit 2ccd0bf

Please sign in to comment.