Can not make history graph card in lovelace UI

When i try to add history graph card in lovelace UI i get this error.

Does anyone have idea what am I doing wrong?

This is my code:

  • type: history-graph
    title: ‘My Graph’
    entities:
    • climate.kuhinja_wall_thermostat_1
      Zajeta%20slika

Shouldn’t it be “history_graph” not “history-graph”?

I have try both but still get same error.

Probably needed entity that has numeric state with unit of measurement

Not according to the docs. History graph card - Home Assistant

For heaven’s sake pleas post your code properly. Look at the top of every page in the forum. It tells you how.

Your indentation is off in that pic

- type: history-graph
  title: ‘My Graph’
  entities:
    - climate.kuhinja_wall_thermostat_1

here is a working history graph card in lovelace (properly formatted for your viewing pleasure :slightly_smiling_face:)

  - type: history-graph
    title: Indoor Temperature
    entities:
      - sensor.livingroom_temperature
      - sensor.sunroom_temperature
      - sensor.master_bedroom_temperature
      - sensor.big_room_temperature

There’s no leading ‘-‘ for type when using the GUI editor.