mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
switch to default polling cycle to solve multiple instance issue
This commit is contained in:
parent
513f6e9c3c
commit
9b47241a46
@ -62,13 +62,9 @@ class SonosDevice(MediaPlayerDevice):
|
||||
self._player = player
|
||||
self.update()
|
||||
|
||||
track_utc_time_change(
|
||||
hass, self.update_sonos,
|
||||
second=range(0, 60, 5))
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
return False
|
||||
return True
|
||||
|
||||
def update_sonos(self, now):
|
||||
""" Updates state, called by track_utc_time_change """
|
||||
|
Loading…
x
Reference in New Issue
Block a user