#Climate entity - how to get historical current temperature?

1 messages · Page 1 of 1 (latest)

boreal leaf
#

I have a hot tub controller with a climate entity that sees these states:

  - auto
min_temp: 59
max_temp: 104
preset_modes:
  - Away From Home
  - Standard
  - Energy Saving
  - Super Energy Saving
  - Weekender
current_temperature: 79
temperature: 80
hvac_action: heating
preset_mode: Energy Saving
icon: mdi:hot-tub
friendly_name: "Hot Tub: Heater"
supported_features: 17

I'm looking to create a graph that shows current temperature/set temperature/outdoor temperature alongside the energy consumption to collect for 13 months. I have energy data being generated fine thanks to PowerCalc add-on, however I don't know how to gather historical data on the current_temperature and temperature values.

Also, is there a graph card that can do dual Y axis scales (eg: one for temperature, another for energy)?

faint inlet
#

Make a template sensor

boreal leaf
# faint inlet Make a template sensor

Done, I thought I might have to do that but didn't want to create a redundant helper - thanks!
Do you know about my second part of the post/question - is there a graph card that can do dual Y axis scales (eg: one for temperature, another for energy)? It seems the Statistics graph Card will only allow multiple values to chart of the same type as what is on there.

faint inlet
#

Nothing in core will do that. Maybe apexcharts or some custom component, I don't know their capabilities.

boreal leaf
#

Apexcharts seems to be the most capable of the custom chart components, but I can't figure out how to do a dual Y axis with it (if it's possible)

torpid dagger
#

@boreal leaf can you tell me what card you are using? I've been looking for one like this to hook my air fryer up to it 😂

boreal leaf