Mini-graph-card forecast shows NaN

Hya,

after installing and configuring mini-graph-card,

The entity shows:

Battery level                                         0
Heartbeat                                             0
Child ID                                                0
Description                                       
Device                               192.168.80.9
Node ID                                                2
V PRESSURE                               1016
V FORECAST                             cloudy

But the card shows NaN, instead of cloudy:

type: 'custom:mini-graph-card'
entities:
  - entity: sensor.weather_station_2_0_2
    name: Forecast
  - entity: sensor.weather_station_2_0
    name: Air Pressure
  - entity: sensor.weather_station_2_1
    name: Temp
  - entity: sensor.weather_station_2_3
    name: Temp
  - entity: sensor.weather_station_2_2
    name: Humidity
show:
  labels: true
  labels_secondary: true

Any hint?

Thx in advance!

Need more information. WHat you posted in ‘The entity shows’ doesn’t what what entity it is or the state.

Where on an X-Y ploy of numbers would you plot “cloudy”?

I’ve had NaN when one of the entities in the mini-graph-card doesn’t exist. Are all the entity names right? I see you have a lot of _2_0 etc.

the same sensor: sensor.weather_station_2_0_2

by one it shows the state by other it shows NaN

go to the developer tools states page and take a screenshot of the states. They don’t appear to be numbers. Also, that sensor that you posted returns a word. You can’t graph a word, only numbers.

On my system all it took was a restart of the server.

yeap… it’s right.