Skip to content

Instantly share code, notes, and snippets.

@andrioid
Created July 20, 2025 08:14
Show Gist options
  • Select an option

  • Save andrioid/250894508af8341d63368f15f69f6835 to your computer and use it in GitHub Desktop.

Select an option

Save andrioid/250894508af8341d63368f15f69f6835 to your computer and use it in GitHub Desktop.
HA temperature card w. apex charts
type: custom:apexcharts-card
graph_span: 24h
header:
show: true
title: Temperatur
show_states: true
colorize_states: true
apex_config:
stroke:
width: 2
y_axis:
- title: Temperatur
min: 0
max: 40
- title: AC
id: secondary
min: 0
max: 40
show: false
series:
- entity: sensor.temperatur_udendors
name: Udenfor
- entity: sensor.wavin_temp_ch02
name: Stue
- entity: sensor.wavin_temp_ch01
name: Soveværelse
- entity: sensor.wavin_temp_ch05
name: Christian
- entity: sensor.tz3000_fie1dpkm_ts0201_temperature
name: Garage
color: "#95a5a6"
- entity: climate.stue
name: AC running
type: area
curve: stepline
transform: "return x === 'cool' ? 40 : 0;"
color: "#d6ecfa"
yaxis_id: secondary
show:
legend_value: false
datalabels: false
in_header: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment