Add device_info to Daikin (#19372)

* add device_info to Daikin

* Use the constant CONNECTION_NETWORK_MAC from the device registry helper.
This commit is contained in:
Fredrik Erlandsson 2018-12-19 08:18:40 +01:00 committed by Martin Hjelmare
parent 7f0dd442fd
commit e5487722a8
3 changed files with 25 additions and 1 deletions

View file

@ -104,3 +104,8 @@ class DaikinClimateSensor(Entity):
def update(self):
"""Retrieve latest state."""
self._api.update()
@property
def device_info(self):
"""Return a device description for device registry."""
return self._api.device_info