Update pydaikin to 2.0.0 (#34807)

This commit is contained in:
Fredrik Erlandsson 2020-05-06 13:59:07 +02:00 committed by GitHub
parent c71a7b901f
commit d8222a8eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 91 additions and 54 deletions

View file

@ -43,7 +43,7 @@ class DaikinZoneSwitch(ToggleEntity):
@property
def unique_id(self):
"""Return a unique ID."""
return f"{self._api.mac}-zone{self._zone_id}"
return f"{self._api.device.mac}-zone{self._zone_id}"
@property
def icon(self):