Crall

Untitled

Mar 9th, 2026
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. type: custom:bar-card
  2. title: Power
  3. min: 0
  4. max: 20
  5. entities:
  6. - entity: sensor.tibber_pulse_kallasgardsgatan_current_l1
  7. name: Fas 1
  8. icon: mdi:transmission-tower
  9. - entity: sensor.tibber_pulse_kallasgardsgatan_current_l2
  10. name: Fas 2
  11. icon: mdi:transmission-tower
  12. - entity: sensor.tibber_pulse_kallasgardsgatan_current_l3
  13. name: Fas 3
  14. icon: mdi:transmission-tower
  15. positions:
  16. icon: outside
  17. name: outside
  18. value: inside
  19. indicator: 'off'
  20. height: 35px
  21. unit_of_measurement: 'A'
  22. decimal: 1
  23.  
  24. card_mod:
  25. style: |
  26. ha-card {
  27. background: transparent !important;
  28. }
  29. bar-card-background bar-card-backgroundbar {
  30. background: #444444 !important;
  31. border-radius: 10px !important;
  32. }
  33. bar-card-background bar-card-currentbar {
  34. background: linear-gradient(90deg, #40dd50 0%, #ffff00 33%, #ff9800 66%, #ff0000 100%) !important;
  35. clip-path: polygon(0 0, var(--bar-percent) 0, var(--bar-percent) 100%, 0 100%) !important;
  36. border-radius: 10px !important;
  37. }
Advertisement
Add Comment
Please, Sign In to add comment