Skip to content

Instantly share code, notes, and snippets.

@cassidyjames
Created November 27, 2023 18:06
Show Gist options
  • Save cassidyjames/d0544841304b934c9e0acf25dafb6709 to your computer and use it in GitHub Desktop.
Save cassidyjames/d0544841304b934c9e0acf25dafb6709 to your computer and use it in GitHub Desktop.
Temperature chart for Home Assistant
type: custom:mini-graph-card
name: Living Room
entities:
- entity: sensor.living_room_avg_temperature
- entity: sensor.living_room_thermostat_living_room_temperature
show_fill: false
- entity: sensor.closet_door_temperature
show_fill: false
animate: true
decimals: 0
hours_to_show: 12
more_info: false
points_per_hour: 2
show:
average: true
extrema: true
fill: fade
icon_adaptive_color: true
labels: false
labels_secondary: false
legend: false
points: false
color_thresholds:
- value: 88
color: '#ed333b'
- value: 80
color: '#ffa348'
- value: 74
color: '#f8e45c'
- value: 68
color: '#57e389'
- value: 62
color: '#62a0ea'
- value: 54
color: '#deddda'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment