Make recorder execute avoid native conversion by default (#36938)
This commit is contained in:
parent
f4b8a95205
commit
edad387b12
9 changed files with 42 additions and 35 deletions
|
@ -332,7 +332,7 @@ class StatisticsSensor(Entity):
|
|||
query = query.order_by(States.last_updated.desc()).limit(
|
||||
self._sampling_size
|
||||
)
|
||||
states = execute(query)
|
||||
states = execute(query, to_native=True, validate_entity_ids=False)
|
||||
|
||||
for state in reversed(states):
|
||||
self._add_state_to_queue(state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue