I’ve been trying to get a bar graph from nordpool electricity prices, but for some reason the graph style won’t change no matter how I try to configure it.

I’m running Home assistant OS (or whatever that was called) on a raspberry pi 3:

  • Home Assistant 2023.10.1
  • Supervisor 2023.10.0
  • Operating System 10.5
  • Frontend 20231005.0 - latest

Currently my configuration for the card is like this:

type: custom:mini-graph-card
name: Pörssisähkö
entities:
  - entity: sensor.nordpool
    name: Pörssisähkö
    group-by: hour
    color: '#00ff00'
    show:
      graph: bar

But no matter how I try to change that the graph doesn’t change and there’s also other variables, like line graph with/without fill which doesn’t work as expected. Granted, I’m not that familiar with yaml nor home assistant itself, but this is something I’d expect to “just work” as the configuration for mini-graph-card is quite simple. It displays correct data from the sensor, but only in a line format.

Is this something that recent update broke or am I doing something wrong? I can’t see anything immediately wrong on any logs nor javascript console

    • IsoKieroOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      For whatever reason formatting broke, it looked fine with preview before posting, but it’s now fixed.

      Your configuration works just fine, thank you for that, I modified it for my sensor, but it would be nice to know why the previous attempt didn’t work.