Flat graphs using Mini Graph Card

I just simply cannot figure out what is wrong…
All of my nicely looking graphs are gone, or they are all flat…

I am using the Mini Graph Card


56

Is there a module missing in my installation?
Here is an example from one of the Lovelace cards

animate: true
color_thresholds:
  - color: '#CCE5FF'
    value: 0
  - color: '#66B2FF'
    value: 10
  - color: '#0080FF'
    value: 15
  - color: '#87c087'
    value: 18
  - color: '#389638'
    value: 21
  - color: '#FF9932'
    value: 24
  - color: '#FF8000'
    value: 25
  - color: '#ff0000'
    value: 26
entities:
  - entity: sensor.yr_temperature
height: 75
hour24: true
line_color: var(--primary-color)
location_icon: left
location_state: center
name: Utetemperatur fra Yr.no
show:
  extrema: true
  fill: fade
type: 'custom:mini-graph-card'

Are the built in history graphs working (more info pop-up)?
Do you have database errors in your log?

Doesn’t look so…

… and my database seems to be malformed (whatever that means) :slight_smile:

2019-09-07 21:27:54 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
sqlite3.DatabaseError: database disk image is malformed

I came across this article.

So i deleted the db file and this error was gone. Thank you, @tom_l for pointing me in right direction.
FWIW: Why/how do this type of errors occur?

BTW: Any suggestion why this one node don’t report its temperature?
The Z-wave communication with the node is woking.

… although its dead right now this error occurred some weeks ago when the states was Ready: TRUE, Awake: TRUE and Failed: FALSE