Skip to content

Instantly share code, notes, and snippets.

@smytangel
Last active November 24, 2022 17:30
Show Gist options
  • Save smytangel/a7ed7be2c01162d0072b4ab4bb60ecdf to your computer and use it in GitHub Desktop.
Save smytangel/a7ed7be2c01162d0072b4ab4bb60ecdf to your computer and use it in GitHub Desktop.
type: horizontal-stack
cards:
- type: gauge
entity: sensor.p1_meter_active_power_l1
needle: true
unit: W
severity:
green: -5000
red: 0
max: 5000
min: -5000
name: L 1
card_mod:
style:
.: |
.name {
font-size: 11px !important;
}
ha-gauge$: |
svg text {
transform: scale(1.0);
style: |
ha-card {
background: black;
border-radius: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment