mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Remove lru_cache on websocket _state_diff (#90392)
This commit is contained in:
parent
e6c94d7854
commit
de2ca31a71
@ -132,7 +132,6 @@ def _state_diff_event(event: Event) -> dict:
|
|||||||
return _state_diff(event_old_state, event_new_state)
|
return _state_diff(event_old_state, event_new_state)
|
||||||
|
|
||||||
|
|
||||||
@lru_cache(maxsize=128)
|
|
||||||
def _state_diff(
|
def _state_diff(
|
||||||
old_state: State, new_state: State
|
old_state: State, new_state: State
|
||||||
) -> dict[str, dict[str, dict[str, dict[str, str | list[str]]]]]:
|
) -> dict[str, dict[str, dict[str, dict[str, str | list[str]]]]]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user