Show history card of one of the attriburtes of my entity

Hi,

My evohome connected thermostat gives me entries with these attributes:

hvac_modes:
  - 'off'
  - heat
min_temp: 5
max_temp: 35
preset_modes:
  - none
  - temporary
  - permanent
current_temperature: 26
temperature: 15
hvac_action: idle
preset_mode: temporary
status:
  setpoints:
    this_sp_from: '2020-08-07T07:30:00+02:00'
    this_sp_temp: 15
    next_sp_from: '2020-08-08T07:30:00+02:00'
    next_sp_temp: 15
  zone_id: '1276122'
  active_faults: []
  setpoint_status:
    target_heat_temperature: 15
    setpoint_mode: TemporaryOverride
    until: '2020-08-08T07:30:00+02:00'
  temperature_status:
    temperature: 26
    is_available: true
friendly_name: MyRoom
icon: 'mdi:radiator'
supported_features: 17

When showing a graph of the history of this entity, I get 2 lines, the ā€˜current_temperatureā€™ (actual) and the ā€˜temperatureā€™ (target/set point). What if I want to only show the first of these and donā€™t care about the second. Is there a way to make the graph show only that?

The config for the graph looks like this:

type: history-graph
entities:
  - entity: climate.myRoom
hours_to_show: 80
refresh_interval: 0

No you cant change that, it is hard coded.

You can create your own history graph, but that only accepts entities not attributes. So you would have to pull the current temperature into its own sensor with a template sensor.

2 Likes

Is there any Blog or website on how to do this?