mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix Non-thread-safe operation in logbook (#62148)
This commit is contained in:
parent
8bf58df624
commit
ccf8dcd14a
@ -112,6 +112,7 @@ def log_entry(hass, name, message, domain=None, entity_id=None, context=None):
|
||||
hass.add_job(async_log_entry, hass, name, message, domain, entity_id, context)
|
||||
|
||||
|
||||
@callback
|
||||
@bind_hass
|
||||
def async_log_entry(hass, name, message, domain=None, entity_id=None, context=None):
|
||||
"""Add an entry to the logbook."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user