mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Remove unnecessary assignment in Recorder._process_state_changed_event_into_session (#132011)
This commit is contained in:
parent
cf0ee63507
commit
ff1702eefa
@ -1128,7 +1128,6 @@ class Recorder(threading.Thread):
|
||||
|
||||
# Map the event data to the StateAttributes table
|
||||
shared_attrs = shared_attrs_bytes.decode("utf-8")
|
||||
dbstate.attributes = None
|
||||
# Matching attributes found in the pending commit
|
||||
if pending_event_data := state_attributes_manager.get_pending(shared_attrs):
|
||||
dbstate.state_attributes = pending_event_data
|
||||
|
Loading…
x
Reference in New Issue
Block a user