Skip to content

Commit

Permalink
chore: Fixed intelligent settings coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
BottlecapDave committed Oct 5, 2023
1 parent e621af1 commit 3345eab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async def async_update_intelligent_settings_data():
client: OctopusEnergyApiClient = hass.data[DOMAIN][DATA_CLIENT]
if (DATA_ACCOUNT in hass.data[DOMAIN]):

settings = None
if has_intelligent_tariff(current, hass.data[DOMAIN][DATA_ACCOUNT]):
try:
settings = await client.async_get_intelligent_settings(account_id)
Expand Down

0 comments on commit 3345eab

Please sign in to comment.