None optional hass typing in FlowHandler (#46462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
1244fb4152
commit
bc1daf1802
58 changed files with 22 additions and 141 deletions
|
@ -63,7 +63,6 @@ class SpotifyFlowHandler(
|
|||
if entry:
|
||||
self.entry = entry
|
||||
|
||||
assert self.hass
|
||||
persistent_notification.async_create(
|
||||
self.hass,
|
||||
f"Spotify integration for account {entry['id']} needs to be re-authenticated. Please go to the integrations page to re-configure it.",
|
||||
|
@ -85,7 +84,6 @@ class SpotifyFlowHandler(
|
|||
errors={},
|
||||
)
|
||||
|
||||
assert self.hass
|
||||
persistent_notification.async_dismiss(self.hass, "spotify_reauth")
|
||||
|
||||
return await self.async_step_pick_implementation(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue