Advertisement
artpc

custom:bar-card

Jan 14th, 2021
554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. entities:
  2. - name: Pralka
  3. entity: sensor.tasmota_energy_total_2
  4. - name: Zmywarka
  5. entity: sensor.tasmota_energy_total_3
  6. - entity: sensor.anita_pokoj_temperature
  7. name: Anita
  8. - entity: sensor.shelly_shwt_1_689c65_temperature
  9. name: Łazienka
  10. decimal: 1
  11. min: 0
  12. severity:
  13. - color: '#0080FF'
  14. from: '0'
  15. to: '19'
  16. - color: '#40bf40'
  17. from: '19'
  18. to: '22'
  19. - color: '#bf9540'
  20. from: '22'
  21. to: '25'
  22. - color: '#c0392b'
  23. from: '25'
  24. to: '40'
  25. direction: up
  26. height: 150px
  27. width: 24px
  28. positions:
  29. indicator: inside
  30. icon: 'off'
  31. style: |-
  32. .card-header {
  33. font-size: 18px;
  34. }
  35. bar-card-value, bar-card-name {
  36. font-size: 12px;
  37. transform-origin: 0 0;
  38. transform: rotate(270deg);
  39. text-shadow: 1px 1px #0008;
  40. white-space: nowrap;
  41. }
  42. bar-card-value {
  43. margin-right: auto;
  44. margin-left: 6px;
  45. margin-bottom: auto;
  46. margin-top: auto;
  47. }
  48. bar-card-name {
  49. margin-right: auto;
  50. margin-left: 0px;
  51. margin-bottom: -130px;
  52. margin-top: 130px;
  53. right: 20px;
  54. }
  55. bar-card-currentbar, bar-card-backgroundbar {
  56. border-radius: 12px;
  57. border: 1px solid #DDD9;
  58. }
  59. stack: horizontal
  60. title: null
  61. type: 'custom:bar-card'
  62. animation:
  63. state: 'on'
  64. max: '200'
  65.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement