mirror of
https://github.com/home-assistant/core.git
synced 2026-09-03 18:24:49 -05:00
Ensure history LazyState state value is always a string (#45644)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
co-authored by
Paulus Schoutsen
parent
fdcf1fccf8
commit
0da4034179
@@ -699,7 +699,7 @@ class LazyState(State):
|
||||
"""Init the lazy state."""
|
||||
self._row = row
|
||||
self.entity_id = self._row.entity_id
|
||||
self.state = self._row.state
|
||||
self.state = self._row.state or ""
|
||||
self._attributes = None
|
||||
self._last_changed = None
|
||||
self._last_updated = None
|
||||
|
||||
Reference in New Issue
Block a user