Advertisement
ThePantser

Untitled

Feb 16th, 2021
2,799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. type: vertical-stack
  2. cards:
  3. - type: conditional
  4. conditions:
  5. - entity: input_boolean.washer_washing
  6. state: 'on'
  7. card:
  8. type: picture-elements
  9. elements:
  10. - entity: sensor.washer
  11. icon: 'mdi:power'
  12. style:
  13. left: 35%
  14. top: 8%
  15. type: state-icon
  16. - attribute: remain_time
  17. entity: sensor.washer
  18. style:
  19. color: white
  20. font-size: 2em
  21. right: 19%
  22. top: 9%
  23. type: state-label
  24. - attribute: run_state
  25. entity: sensor.washer
  26. style:
  27. bottom: 5%
  28. font-size: 2em
  29. left: 50%
  30. type: state-label
  31. image: local/washer_washing.gif
  32. - type: conditional
  33. conditions:
  34. - entity: input_boolean.washer_drying
  35. state: 'on'
  36. card:
  37. type: picture-elements
  38. elements:
  39. - entity: sensor.washer
  40. icon: 'mdi:power'
  41. style:
  42. left: 35%
  43. top: 8%
  44. type: state-icon
  45. - attribute: remain_time
  46. entity: sensor.washer
  47. style:
  48. color: white
  49. font-size: 2em
  50. right: 19%
  51. top: 9%
  52. type: state-label
  53. - attribute: run_state
  54. entity: sensor.washer
  55. style:
  56. bottom: 5%
  57. font-size: 2em
  58. left: 50%
  59. type: state-label
  60. image: local/washer_drying.gif
  61. - type: conditional
  62. conditions:
  63. - entity: input_boolean.washer_spinning
  64. state: 'on'
  65. card:
  66. type: picture-elements
  67. elements:
  68. - entity: sensor.washer
  69. icon: 'mdi:power'
  70. style:
  71. left: 35%
  72. top: 8%
  73. type: state-icon
  74. - attribute: remain_time
  75. entity: sensor.washer
  76. style:
  77. color: white
  78. font-size: 2em
  79. right: 19%
  80. top: 9%
  81. type: state-label
  82. - attribute: run_state
  83. entity: sensor.washer
  84. style:
  85. bottom: 5%
  86. font-size: 2em
  87. left: 50%
  88. type: state-label
  89. image: local/washer_spin.gif
  90. - type: conditional
  91. conditions:
  92. - entity: sensor.washer
  93. state: 'off'
  94. card:
  95. type: picture-elements
  96. elements:
  97. - entity: sensor.washer
  98. icon: 'mdi:power'
  99. style:
  100. left: 35%
  101. top: 8%
  102. type: state-icon
  103. - attribute: remain_time
  104. entity: sensor.washer
  105. style:
  106. color: white
  107. font-size: 2em
  108. right: 19%
  109. top: 9%
  110. type: state-label
  111. - attribute: run_state
  112. entity: sensor.washer
  113. style:
  114. bottom: 5%
  115. font-size: 2em
  116. left: 50%
  117. type: state-label
  118. image: local/washer.png
  119.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement