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:
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
|
||||
Reference in new issue
Block a user