Hi, I want to Graph temperature on a Mini graph card, and have it colord based on if the heating was turned on.
Something like this:
(src)
or this:
(History Graph → climate.thermostat)
I’m not as happy with this one as i belive Its rather ugly
This was my workaround Attempt:
Code
type: custom:mini-graph-card
entities:
- entity: sensor.verwarming_temp_kraan_temperatuur
name: Temperature
- entity: sensor.temperature_heating_enabled
name: Heating
show_state: false
show:
labels: true
icon: false
name: true
line_color: "#ff6347"
line_width: 3
height: 200
fill: false
show_fill: false
show_points: false
animate: true
hours_to_show: 24
points_per_hour: 6
card_mod:
style: |
ha-card {
background: rgba(255, 0, 255, 0.2);
}
temperature heating enabled ist a template sensor if (heating) return (Temp) else return (0)
I’m not at all happy with this solution
I’m not at all happy with this solution