Advertisement
Guest User

Batman Laundry Yaml

a guest
Apr 1st, 2025
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.89 KB | None | 0 0
  1. Edit with the Docs app
  2. Make tweaks, leave comments, and share with others to edit at the same time.
  3. NO THANKSUSE THE APP
  4.  
  5. Washer/Dryer Entity Card
  6.  
  7. type: picture-elements
  8.  
  9. image: >-
  10.  
  11. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Empty.png
  12.  
  13. panel: true
  14.  
  15. elements:
  16.  
  17. - type: image
  18.  
  19. entity: switch.washer
  20.  
  21. image: >-
  22.  
  23. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Empty.png
  24.  
  25. state_image:
  26.  
  27. "off": >-
  28.  
  29. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Empty.png
  30.  
  31. style:
  32.  
  33. left: 0%
  34.  
  35. top: 0%
  36.  
  37. transform: scale(1,1)
  38.  
  39. tap_action:
  40.  
  41. action: toggle
  42.  
  43. - type: conditional
  44.  
  45. conditions:
  46.  
  47. - entity: switch.washer
  48.  
  49. state: "on"
  50.  
  51. elements:
  52.  
  53. - type: image
  54.  
  55. entity: switch.washer
  56.  
  57. image: >-
  58.  
  59. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Clothes.png
  60.  
  61. state_image:
  62.  
  63. "on": >-
  64.  
  65. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Clothes.png
  66.  
  67. style:
  68.  
  69. left: 0%
  70.  
  71. top: 0%
  72.  
  73. transform: scale(1,1)
  74.  
  75. tap_action:
  76.  
  77. action: toggle
  78.  
  79. - type: conditional
  80.  
  81. conditions:
  82.  
  83. - entity: switch.washer
  84.  
  85. state: "on"
  86.  
  87. - condition: or
  88.  
  89. conditions:
  90.  
  91. - entity: sensor.washer_job_state
  92.  
  93. state: wash
  94.  
  95. - entity: sensor.washer_job_state
  96.  
  97. state: rinse
  98.  
  99. elements:
  100.  
  101. - type: image
  102.  
  103. entity: sensor.washer_job_state
  104.  
  105. image: >-
  106.  
  107. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Rinse.gif
  108.  
  109. state_image:
  110.  
  111. wash: >-
  112.  
  113. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Rinse.gif
  114.  
  115. rinse: >-
  116.  
  117. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Sin.gif
  118.  
  119. style:
  120.  
  121. left: 0%
  122.  
  123. top: 0%
  124.  
  125. transform: scale(1,1)
  126.  
  127. tap_action:
  128.  
  129. action: more-info
  130.  
  131. - type: state-label
  132.  
  133. entity: sensor.washer_completion_time
  134.  
  135. style:
  136.  
  137. left: 79%
  138.  
  139. top: 3%
  140.  
  141. color: black
  142.  
  143. transform: scale(2.5,2.5)
  144.  
  145. tap_action:
  146.  
  147. action: more-info
  148.  
  149. - type: state-label
  150.  
  151. entity: sensor.washer_job_state
  152.  
  153. style:
  154.  
  155. left: 40%
  156.  
  157. top: 69%
  158.  
  159. color: black
  160.  
  161. transform: scale(2,2)
  162.  
  163. tap_action:
  164.  
  165. action: none
  166.  
  167. - type: conditional
  168.  
  169. conditions:
  170.  
  171. - entity: switch.dryer
  172.  
  173. state: "on"
  174.  
  175. - entity: sensor.washer_job_state
  176.  
  177. state_not: wash
  178.  
  179. - entity: sensor.washer_job_state
  180.  
  181. state_not: rinse
  182.  
  183. elements:
  184.  
  185. - type: image
  186.  
  187. entity: switch.dryer
  188.  
  189. image: >-
  190.  
  191. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Spin.gif
  192.  
  193. state_image:
  194.  
  195. "on": >-
  196.  
  197. https://"your_ip_address".ui.nabu.casa/local/pictures/Batman_Laundry_Spin.gif
  198.  
  199. style:
  200.  
  201. left: 0%
  202.  
  203. top: 0%
  204.  
  205. transform: scale(1,1)
  206.  
  207. tap_action:
  208.  
  209. action: more-info
  210.  
  211. - type: conditional
  212.  
  213. conditions:
  214.  
  215. - condition: or
  216.  
  217. conditions:
  218.  
  219. - entity: sensor.washer_job_state
  220.  
  221. state: finished
  222.  
  223. - entity: sensor.dryer_job_state
  224.  
  225. state: finished
  226.  
  227. elements:
  228.  
  229. - type: image
  230.  
  231. entity: sensor.washer_job_state
  232.  
  233. image: >-
  234.  
  235. "your_ip_address".ui.nabu.casa/local/pictures/Batmn_Laundry_Done.gif
  236.  
  237. style:
  238.  
  239. left: 0%
  240.  
  241. top: 0%
  242.  
  243. transform: scale(1,1)
  244.  
  245. tap_action:
  246.  
  247. action: more-info
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement