mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Print a message when reconnected after a connection failure, requirement for IQS silver (#20261)
This commit is contained in:
parent
62844e237c
commit
e69ca810e4
@ -180,6 +180,8 @@ class SongpalDevice(MediaPlayerDevice):
|
||||
await self.async_update_ha_state(force_refresh=True)
|
||||
delay = min(2*delay, 300)
|
||||
|
||||
_LOGGER.info("Reconnected to %s", self.name)
|
||||
|
||||
self.dev.on_notification(VolumeChange, _volume_changed)
|
||||
self.dev.on_notification(ContentChange, _source_changed)
|
||||
self.dev.on_notification(PowerChange, _power_changed)
|
||||
|
Loading…
x
Reference in New Issue
Block a user