Fix callback and async (#31281)
* Fix callback and async * Fix a return * Fix test * Fix mqtt tests * Fix some more callbacks
This commit is contained in:
1 parent
ee602e40a6
commit
e9e44dbd97
90 files changed
+627
-883
No files matched your search
@@ -225,6 +225,7 @@ class SAJsensor(Entity):
|
||||
"""Return the date when the sensor was last updated."""
|
||||
return self._sensor.date
|
||||
|
||||
@callback
|
||||
def async_update_values(self, unknown_state=False):
|
||||
"""Update this sensor."""
|
||||
update = False
|
||||
|
||||
Reference in new issue
Block a user