Skip to content

Instantly share code, notes, and snippets.

@GuySie
Last active January 20, 2022 16:25
Show Gist options
  • Save GuySie/898002e69b52d4516139d8529da98c9d to your computer and use it in GitHub Desktop.
Save GuySie/898002e69b52d4516139d8529da98c9d to your computer and use it in GitHub Desktop.
YAML code for a modded IKEA VINDRIKTNING sensor in Home Assistant
align_header: left
align_icon: left
entities:
- entity: sensor.ikea_vindriktning_pm25
- color: gray
entity: sensor.nightstate
name: Night
show_legend: false
show_line: false
show_points: false
y_axis: secondary
hour24: true
font_size: 80
icon: mdi:chemical-weapon
name: Air quality (PM2.5)
points_per_hour: 6
show:
extrema: true
color_thresholds:
- value: 0
color: '#00ff00'
- value: 35
color: '#ff8800'
- value: 85
color: '#ff0000'
type: custom:mini-graph-card
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment