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
@@ -411,6 +411,7 @@ async def async_services_json(hass):
|
||||
return [{"domain": key, "services": value} for key, value in descriptions.items()]
|
||||
|
||||
|
||||
@ha.callback
|
||||
def async_events_json(hass):
|
||||
"""Generate event data to JSONify."""
|
||||
return [
|
||||
|
||||
Reference in new issue
Block a user