ThePantser

Untitled

Feb 16th, 2021
1,215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.48 KB | None | 0 0
  1. input_boolean:
  2. washer_washing:
  3. name: Washer Washing
  4. icon: mdi:washing-machine
  5. washer_drying:
  6. name: Washer Drying
  7. icon: mdi:washing-machine
  8. washer_spinning:
  9. name: Washer Spinning
  10. icon: mdi:washing-machine
  11.  
  12. (Automations)
  13. - id: '1613419819667'
  14. alias: Dishwasher Started (Washing)
  15. description: ''
  16. trigger:
  17. - type: value
  18. platform: device
  19. device_id: 0af43bbb931f24ee4700fe5ab2db3019
  20. entity_id: sensor.dishwasher_power
  21. domain: sensor
  22. above: 30
  23. condition: []
  24. action:
  25. - service: tts.cloud_say
  26. data:
  27. entity_id: media_player.living_room_home
  28. message: Starting Dishwasher
  29. options:
  30. gender: male
  31. - service: notify.notify
  32. data:
  33. message: The Dishwasher Started
  34. - service: tts.cloud_say
  35. data:
  36. entity_id: media_player.dining_room_pair
  37. message: Starting Dishwasher
  38. options:
  39. gender: male
  40. - service: tts.cloud_say
  41. data:
  42. entity_id: media_player.dining_room_pair
  43. message: Starting Dishwasher
  44. options:
  45. gender: male
  46. - service: tts.cloud_say
  47. data:
  48. entity_id: media_player.kitchen_mini
  49. message: Starting Dishwasher
  50. options:
  51. gender: male
  52. - service: input_boolean.turn_on
  53. data: {}
  54. entity_id: input_boolean.dishwasher_running
  55. mode: single
  56. - id: '1613420110992'
  57. alias: Dishwasher Finished
  58. description: ''
  59. trigger:
  60. - type: value
  61. platform: device
  62. device_id: 0af43bbb931f24ee4700fe5ab2db3019
  63. entity_id: sensor.dishwasher_power
  64. domain: sensor
  65. above: 0
  66. below: 5
  67. for:
  68. hours: 0
  69. minutes: 0
  70. seconds: 10
  71. milliseconds: 0
  72. condition: []
  73. action:
  74. - service: tts.cloud_say
  75. data:
  76. entity_id: media_player.living_room_home
  77. message: Dishwasher Finished
  78. options:
  79. gender: male
  80. - service: notify.notify
  81. data:
  82. message: The Dishwasher Finished
  83. - service: tts.cloud_say
  84. data:
  85. entity_id: media_player.dining_room_pair
  86. message: Dishwasher Finished
  87. options:
  88. gender: male
  89. - service: tts.cloud_say
  90. data:
  91. entity_id: media_player.dining_room_pair
  92. message: Dishwasher Finished
  93. options:
  94. gender: male
  95. - service: tts.cloud_say
  96. data:
  97. entity_id: media_player.kitchen_mini
  98. message: Dishwasher Finished
  99. options:
  100. gender: male
  101. - service: input_boolean.turn_off
  102. data: {}
  103. entity_id: input_boolean.dishwasher_running
  104. mode: single
  105. - id: '1613424501683'
  106. alias: Laundry Spinning
  107. description: ''
  108. trigger:
  109. - platform: state
  110. entity_id: sensor.washer
  111. attribute: run_state
  112. to: Spinning
  113. condition: []
  114. action:
  115. - service: input_boolean.turn_on
  116. data: {}
  117. entity_id: input_boolean.washer_spinning
  118. - service: input_boolean.turn_off
  119. data: {}
  120. entity_id: input_boolean.washer_washing
  121. - service: input_boolean.turn_off
  122. data: {}
  123. entity_id: input_boolean.washer_drying
  124. mode: single
  125. - id: '1613427878363'
  126. alias: Laundry Off
  127. description: ''
  128. trigger:
  129. - platform: state
  130. entity_id: sensor.washer
  131. attribute: run_state
  132. to: '-'
  133. condition: []
  134. action:
  135. - service: input_boolean.turn_off
  136. data: {}
  137. entity_id: input_boolean.washer_drying
  138. - service: input_boolean.turn_off
  139. data: {}
  140. entity_id: input_boolean.washer_spinning
  141. - service: input_boolean.turn_off
  142. data: {}
  143. entity_id: input_boolean.washer_washing
  144. mode: single
  145.  
  146.  
  147. (Cards)
  148. type: vertical-stack
  149. cards:
  150. - type: conditional
  151. conditions:
  152. - entity: input_boolean.washer_washing
  153. state: 'on'
  154. card:
  155. type: picture-elements
  156. elements:
  157. - entity: sensor.washer
  158. icon: 'mdi:power'
  159. style:
  160. left: 35%
  161. top: 8%
  162. type: state-icon
  163. - attribute: remain_time
  164. entity: sensor.washer
  165. style:
  166. color: white
  167. font-size: 2em
  168. right: 19%
  169. top: 9%
  170. type: state-label
  171. - attribute: run_state
  172. entity: sensor.washer
  173. style:
  174. bottom: 5%
  175. font-size: 2em
  176. left: 50%
  177. type: state-label
  178. image: local/washer_washing.gif
  179. - type: conditional
  180. conditions:
  181. - entity: input_boolean.washer_drying
  182. state: 'on'
  183. card:
  184. type: picture-elements
  185. elements:
  186. - entity: sensor.washer
  187. icon: 'mdi:power'
  188. style:
  189. left: 35%
  190. top: 8%
  191. type: state-icon
  192. - attribute: remain_time
  193. entity: sensor.washer
  194. style:
  195. color: white
  196. font-size: 2em
  197. right: 19%
  198. top: 9%
  199. type: state-label
  200. - attribute: run_state
  201. entity: sensor.washer
  202. style:
  203. bottom: 5%
  204. font-size: 2em
  205. left: 50%
  206. type: state-label
  207. image: local/washer_drying.gif
  208. - type: conditional
  209. conditions:
  210. - entity: input_boolean.washer_spinning
  211. state: 'on'
  212. card:
  213. type: picture-elements
  214. elements:
  215. - entity: sensor.washer
  216. icon: 'mdi:power'
  217. style:
  218. left: 35%
  219. top: 8%
  220. type: state-icon
  221. - attribute: remain_time
  222. entity: sensor.washer
  223. style:
  224. color: white
  225. font-size: 2em
  226. right: 19%
  227. top: 9%
  228. type: state-label
  229. - attribute: run_state
  230. entity: sensor.washer
  231. style:
  232. bottom: 5%
  233. font-size: 2em
  234. left: 50%
  235. type: state-label
  236. image: local/washer_spin.gif
  237. - type: conditional
  238. conditions:
  239. - entity: sensor.washer
  240. state: 'off'
  241. card:
  242. type: picture-elements
  243. elements:
  244. - entity: sensor.washer
  245. icon: 'mdi:power'
  246. style:
  247. left: 35%
  248. top: 8%
  249. type: state-icon
  250. - attribute: remain_time
  251. entity: sensor.washer
  252. style:
  253. color: white
  254. font-size: 2em
  255. right: 19%
  256. top: 9%
  257. type: state-label
  258. - attribute: run_state
  259. entity: sensor.washer
  260. style:
  261. bottom: 5%
  262. font-size: 2em
  263. left: 50%
  264. type: state-label
  265. image: local/washer.png
  266.  
Advertisement
Add Comment
Please, Sign In to add comment