How to reproduce mini card climate in lovelace ui?

hello

I want to have an history graph with the three sensors :

temperature
target temperature
heater switch

something like the graph available in the climate card

Overview-Home-Assistant (1)

I use an history graph and I get this (with temperature and target)

Overview-Home-Assistant (2)

Do you know how to get the ‘step’ for the target temperature sensor instead of a line graph ?
How to reproduce the graph provided in the mini climate card ?

You could try the mini-graph card and change the points per hour setting.
I assume you want something like this?
quake

type: 'custom:mini-graph-card'
entities:
  - sensor.local_earthquake_past_day
unit: quake(s)
name: Local Earthquakes per Day (2 Weeks)
icon: ''
hour24: true
show:
  fill: true
  legend: false
  labels: false
  name: true
  points: false
  name_adaptive_color: true
  icon_adaptive_color: true
  show_legend: false
  state: true
  icon: true
  extrema: true
  average: true
font_size: 75
line_width: 3
points_per_hour: 4
hours_to_show: 336
color_thresholds_transition: hard
color_thresholds:
  - value: 0
    color: '#68FF43'
  - value: 1
    color: '#FFFF55'
  - value: 3
    color: '#EF8533'
  - value: 150.5
    color: '#EA3324'
  - value: 200.5
    color: '#8C1A4B'
  - value: 300.5
    color: '#731425'

You can do multiple inputs per graph, I just don’t have any at the moment.

Very powerfull!
Thanks for the tip

@Merangle,

Did you get this to work similar to the climate card? Would you be willing to share your config as I can’t seem to access the historic target_temperature figures :frowning:

Hello

Please find my configuration

type: 'custom:mini-graph-card'
name: SdB
entities:
  - entity: sensor.sdb_temperature
    name: Salon
    show_legend: false
    color: red
  - entity: var.consigne_sdb
    name: Consigne
    show_state: true
    show_legend: false
    color: green
  - entity: sensor.sdb_power
    show_state: false
    color: blue
    y_axis: secondary
hours_to_show: 24
points_per_hour: 10
lower_bound: 15
upper_bound_secondary: 550
hours24: true
smoothing: false
height: 150
line_width: 1

I store the target temperature in a variable (var_consigne_sdb) that is reused during restart.

with the graph

Overview-Home-Assistant (3)

I hope this helps

Thank you - I did contemplate storing the variable, but suppose I was hoping that was a way to access the data from the history directly. I will give this a go!
Very much appreciated.