Skip to content

Commit

Permalink
fix: polling interval was still set to development mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vanstinator committed Feb 14, 2022
1 parent 0904ebb commit e824180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"editor.formatOnSave": true,
"python.formatting.provider": "black",
"python.analysis.typeCheckingMode": "basic"
}
}
2 changes: 1 addition & 1 deletion custom_components/toyota_na/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
_LOGGER,
name=DOMAIN,
update_method=lambda: update_vehicles_status(client, entry),
update_interval=timedelta(seconds=20),
update_interval=timedelta(minutes=2),
)
await coordinator.async_config_entry_first_refresh()
hass.data[DOMAIN][entry.entry_id] = {
Expand Down

0 comments on commit e824180

Please sign in to comment.