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 authored and Martin Hjelmare committed 2018-12-19 08:18:40 +01:00
1 parent 7f0dd442fd
commit e5487722a8
3 files changed
+25 -1

No files matched your search

@@ -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