Core: State history not found

Created on 3 Jul 2017  路  13Comments  路  Source: home-assistant/core

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version):

0.48
Python release (python3 --version):

Component/platform:

state history
Description of problem:

I added only certain Domains for history but frontent shows me 'state history not found*
Expected:

Problem-relevant configuration.yaml entries and steps to reproduce:

# Enables support for tracking state changes over time.
history:
  include:
    domains:
      - zwave
      - sensor
      - light
    entities:
      - media_player.lg_tv_remote

# Enable Recorder
recorder:
  purge_days: 7
  db_url: mysql://user:[email protected]/homeassistant
  include:
    domains:
      - zwave
      - sensor
      - light
    entities:
      - media_player.lg_tv_remote

# View all events in a logbook
logbook:
  include:
    domains:
      - zwave
      - light
      - sensor

image

Traceback (if applicable):

Additional info:

waiting-for-reply

All 13 comments

Did you fix the issue? I am facing something similar. Thanks.

Same here. Im on 0.53.0. added an entity to history and recorder component (sensor.pm25) an it does not have any history data...
image

This component seems to be broken. If I add only history: and record: to my configuration it records all states and everything works. As soon as I include a domain and entities nothing gets recorded at all...

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

Hassbian 0.62, clean install on rpi3 from yesterday, history and logs are visible but when i click on any sensor, 9 of 10 times i get No state history found. Tried to comment almost everything out in configuration.yaml, but no luck

b66eb6a5-a377-4300-aa26-c54c9dc6f0ea
4c8994cd-6ad1-4e7e-b273-8b17708de8a5

The same problem on hass.io

Same problem for me. Running hassio 0.62 upgraded today. State available sometimes, sometimes not. This happens to all sensors.

Thanks god i am not alone, i spent like a half day trying to fix it, unsuccessfully obviously...

Same issue here - was pulling my hair out until I came across this.

What I find strange is that it works sometimes, no restart needed.

FIXED IN RECENT 0.62.1

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

winterscar picture winterscar  路  251Comments

rschaeuble picture rschaeuble  路  230Comments

raccettura picture raccettura  路  142Comments

Gio76 picture Gio76  路  223Comments

neotrunks picture neotrunks  路  169Comments