Skip to content

Commit

Permalink
Merge pull request #45 from MislavMandaric/fix/cache-lib-upgrade
Browse files Browse the repository at this point in the history
Library upgrade to fix caching issues
  • Loading branch information
MislavMandaric authored Jan 2, 2022
2 parents 0a71ac6 + 99f944c commit 8740460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions custom_components/vaillant_vsmart/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@ def handle_token_update(token: Token) -> None:
client_secret = entry.data.get(CONF_CLIENT_SECRET)
token = Token.deserialize(entry.data.get(CONF_TOKEN))

c = get_async_client(hass)
c.headers.update({"Cache-Control": "no-store"})

client = ThermostatClient(
c,
get_async_client(hass),
TokenStore(client_id, client_secret, token, handle_token_update),
)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/vaillant_vsmart/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"@MislavMandaric"
],
"requirements": [
"vaillant-netatmo-api==0.7.1"
"vaillant-netatmo-api==0.7.2"
]
}

0 comments on commit 8740460

Please sign in to comment.