History graph unknown

Anyone having an issue with History graph showing unknown?

Running 0.84.6 and my configuration:

  gr6:
    name: Nest HVAC
    entities:
      - sensor.nest_thermostat_hvac_state
    hours_to_show: 120

15%20PM

Hi, your sensor.nest_thermostat_hvac_state returns unknown. Could have several reasons:

Is the name spelled correctly? Check your your https://<your_homeassistant>:8123/dev-state page. May be it does not exists (any more).

Does the sensor return a state on your https://<your_homeassistant>:8123/dev-state page? If it shows unknown then you should look at your nest configuration.

The history graph shows the last 120 hours. It currently may have a state, but may be it is so short duration that it can’t be visible on this graph yet.

The sensor exists and the spelling is correct. I removed the 120 hour option and still nothing.

Update - Strangely enough, If I go to the dev panel and click on the “more info” box, the graph will load and then it will display correctly on the card on the front page. It only works after clicking the more info box though.

What about the state on our https://your_homeassistant:8123/dev-state page?
Is the state unknown? Then check your nest configuration.

You could turn on debug logging by adding this in your configuration.yaml:

logger:
   default: debug

Look for messages regarding your nest.

All history graphs show unknown. I will try debug but I wonder if its a browser issue since the graph will show as soon as I click on the more info box.

Not sure what part is unclear to you. On the front you have dev-tools:

One of those tools is called dev-state. Click on < > to get there.

On the dev-state page you can lookup the state of your sensor.

Do you have the recorder component enabled?

Sorry but the way I quoted your reply appeared as if I couldn’t find dev tools. I am aware of where it is and like i’ve said, it shows as unknown.

@tom_l I do have it enabled.

Try refreshing your browser cache ( CTRL + F5) on the page with the sensors.

If it stays unknown, then check your Nest configuration.

Did your Nest sensor worked before? Or did it not work from the start?

You could set debug logging for your nest:

# configuration.yaml
logger:
   default: warning
   logs:
      homeassistant.components.nest: debug
      homeassistant.components.binary_sensor.nest: debug
      nest: debug
      sseclient: debug

Reboot HA and check the HA log for errors.

Did you setup your Nest in the right way? May you could walk through the instructions again and check the permissions again?

If you need more help, could you please share your logging and your nest configuration (from the configuration.yaml)?

has this ever been resolved?
Just noticed all my 3 history_graphs show unknown, but, are recorded, and as a matter of fact, do show correctly in the frontend/Lovelace, showing history :wink:

their state is ‘unknown’ though… tbh, I wouldn’t even know what the expiates state would be?

history_graph:

  climate_heating:
    name: Climate Heating
    entities:
      - sensor.br_temperature
      - sensor.cv_garage_actueel
      - sensor.cv_stookhok_actueel
      - sensor.cv_zolder_actueel
      - sensor.zonneboiler_zolder_actueel
    hours_to_show: 48
    refresh: 60

15

22