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:
parent
7f0dd442fd
commit
e5487722a8
3 changed files with 25 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue