Upgrade black to 20.8b1 (#39287)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-08-27 13:56:20 +02:00
1 parent 0d7eec710c
commit 1c2ebdf307
574 files changed
+4389 -1725

No files matched your search

+3 -1
View File
@@ -26,7 +26,9 @@ class ConfigEntryNetatmoAuth(pyatmo.auth.NetatmoOAuth2):
)
super().__init__(token=self.session.token)
def refresh_tokens(self,) -> dict:
def refresh_tokens(
self,
) -> dict:
"""Refresh and return new Netatmo tokens using Home Assistant OAuth2 session."""
run_coroutine_threadsafe(
self.session.async_ensure_token_valid(), self.hass.loop