Library refactorization of deCONZ (#23725)
* Improved sensors * Lib update signalling * Replace reason with changed * Move imports to top of file * Add support for secondary temperature reported by some Xiaomi devices * Bump dependency to v59
This commit is contained in:
1 parent
0ba54ee9b7
commit
31b2f331db
19 files changed
+104
-83
No files matched your search
@@ -31,7 +31,7 @@ class DeconzDevice(Entity):
|
||||
self.unsub_dispatcher()
|
||||
|
||||
@callback
|
||||
def async_update_callback(self, reason):
|
||||
def async_update_callback(self, force_update=False):
|
||||
"""Update the device's state."""
|
||||
self.async_schedule_update_ha_state()
|
||||
|
||||
|
||||
Reference in new issue
Block a user