diff --git a/homeassistant/components/media_player/sonos.py b/homeassistant/components/media_player/sonos.py index 62b2aeabf51..5fc0166aefa 100644 --- a/homeassistant/components/media_player/sonos.py +++ b/homeassistant/components/media_player/sonos.py @@ -199,6 +199,7 @@ class SonosDevice(MediaPlayerDevice): self.hass = hass self.volume_increment = 5 self._player = player + self._name = None self.update() self.soco_snapshot = Snapshot(self._player) @@ -216,11 +217,6 @@ class SonosDevice(MediaPlayerDevice): """Return the name of the device.""" return self._name - @property - def unique_id(self): - """Return a unique ID.""" - return "{}.{}".format(self.__class__, self._player.uid) - @property def state(self): """Return the state of the device."""