Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -315,7 +315,8 @@ class DeviceBroker:
|
||||
async def regenerate_refresh_token(now):
|
||||
"""Generate a new refresh token and update the config entry."""
|
||||
await self._token.refresh(
|
||||
self._entry.data[CONF_CLIENT_ID], self._entry.data[CONF_CLIENT_SECRET],
|
||||
self._entry.data[CONF_CLIENT_ID],
|
||||
self._entry.data[CONF_CLIENT_SECRET],
|
||||
)
|
||||
self._hass.config_entries.async_update_entry(
|
||||
self._entry,
|
||||
|
||||
@@ -80,7 +80,8 @@ class SmartThingsFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
# Show the confirmation
|
||||
if user_input is None:
|
||||
return self.async_show_form(
|
||||
step_id="user", description_placeholders={"webhook_url": webhook_url},
|
||||
step_id="user",
|
||||
description_placeholders={"webhook_url": webhook_url},
|
||||
)
|
||||
|
||||
# Show the next screen
|
||||
|
||||
Reference in new issue
Block a user