Guest User

pw

a guest
Nov 7th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 KB | None | 0 0
  1. cards:
  2. - elements:
  3. - icon: 'mdi:bell-ring'
  4. style:
  5. color: '#000000'
  6. left: 90%
  7. top: 95%
  8. tap_action:
  9. action: call-service
  10. service: vacuum.locate
  11. service_data:
  12. entity_id: vacuum.xiaomi_vacuum_cleaner
  13. type: icon
  14. - icon: 'mdi:home'
  15. style:
  16. color: '#000000'
  17. left: 75%
  18. top: 95%
  19. tap_action:
  20. action: call-service
  21. service: vacuum.return_to_base
  22. service_data:
  23. entity_id: vacuum.xiaomi_vacuum_cleaner
  24. type: icon
  25. - icon: 'mdi:stop'
  26. style:
  27. color: '#000000'
  28. left: 60%
  29. top: 95%
  30. tap_action:
  31. action: call-service
  32. service: vacuum.stop
  33. service_data:
  34. entity_id: vacuum.xiaomi_vacuum_cleaner
  35. type: icon
  36. - icon: 'mdi:pause'
  37. style:
  38. color: '#000000'
  39. left: 45%
  40. top: 95%
  41. tap_action:
  42. action: call-service
  43. service: vacuum.pause
  44. service_data:
  45. entity_id: vacuum.xiaomi_vacuum_cleaner
  46. type: icon
  47. - icon: 'mdi:play'
  48. style:
  49. color: '#000000'
  50. left: 30%
  51. top: 95%
  52. tap_action:
  53. action: call-service
  54. service: vacuum.start
  55. service_data:
  56. entity_id: vacuum.xiaomi_vacuum_cleaner
  57. type: icon
  58. - icon: 'mdi:robot-vacuum'
  59. style:
  60. color: '#000000'
  61. left: 10%
  62. top: 95%
  63. tap_action:
  64. action: toggle
  65. entity: input_boolean.vacuum_tryb
  66. type: icon
  67. - entity: sensor.vacuum_operation
  68. style:
  69. background-color: '#000000'
  70. border-color: 'rgb(34, 154, 210)'
  71. border-radius: 6px
  72. color: 'rgb(255, 255, 255)'
  73. font-family: Trebuchet MS
  74. font-size: 100%
  75. font-weight: bold
  76. left: 0%
  77. pointer-events: none
  78. top: 10%
  79. transform: 'translate(0%,-50%)'
  80. type: state-label
  81. - entity: sensor.vacuum_accessories
  82. style:
  83. background-color: '#000000'
  84. border-color: 'rgb(34, 154, 210)'
  85. border-radius: 6px
  86. color: 'rgb(255, 255, 255)'
  87. font-family: Trebuchet MS
  88. font-size: 100%
  89. font-weight: bold
  90. pointer-events: none
  91. right: 0%
  92. top: 10%
  93. transform: 'translate(0%,-50%)'
  94. type: state-label
  95. - entity: vacuum.xiaomi_vacuum_cleaner
  96. style:
  97. '--paper-item-icon-color': 'rgb(115, 122, 130)'
  98. action: more-info
  99. font-size: 150%
  100. font-weight: bold
  101. left: 50%
  102. tap_action: null
  103. top: 8%
  104. type: state-label
  105. - entity: sensor.vacuum_cleanmainbrush
  106. style:
  107. border-color: '#ffffff'
  108. border-right-style: solid
  109. color: '#ffffff'
  110. font-family: Trebuchet MS
  111. font-size: 90%
  112. font-weight: bold
  113. pointer-events: none
  114. right: 0%
  115. top: 25%
  116. transform: 'translate(0%,-50%)'
  117. type: state-label
  118. - entity: sensor.vacuum_cleansidebrush
  119. style:
  120. border-color: '#ffffff'
  121. border-right-style: solid
  122. color: '#ffffff'
  123. font-family: Trebuchet MS
  124. font-size: 90%
  125. font-weight: bold
  126. pointer-events: none
  127. right: 0%
  128. top: 35%
  129. transform: 'translate(0%,-50%)'
  130. type: state-label
  131. - entity: sensor.vacuum_cleanfilter
  132. style:
  133. border-color: '#ffffff'
  134. border-right-style: solid
  135. color: '#ffffff'
  136. font-family: Trebuchet MS
  137. font-size: 90%
  138. font-weight: bold
  139. pointer-events: none
  140. right: 0%
  141. top: 55%
  142. transform: 'translate(0%,-50%)'
  143. type: state-label
  144. - entity: sensor.vacuum_sensordirtyleft
  145. style:
  146. border-color: '#ffffff'
  147. border-right-style: solid
  148. color: '#ffffff'
  149. font-family: Trebuchet MS
  150. font-size: 90%
  151. font-weight: bold
  152. pointer-events: none
  153. right: 0%
  154. top: 65%
  155. transform: 'translate(0%,-50%)'
  156. type: state-label
  157. - entity: sensor.vacuum_status
  158. prefix: 'Status: '
  159. style:
  160. border-color: '#ffffff'
  161. border-left-style: solid
  162. color: '#ffffff'
  163. font-family: Trebuchet MS
  164. font-size: 90%
  165. font-weight: bold
  166. left: 0%
  167. pointer-events: none
  168. top: 25%
  169. transform: 'translate(0%,-50%)'
  170. type: state-label
  171. - entity: sensor.vacuum_battery
  172. style:
  173. border-color: '#ffffff'
  174. border-left-style: solid
  175. color: '#ffffff'
  176. font-family: Trebuchet MS
  177. font-size: 90%
  178. font-weight: bold
  179. left: 0%
  180. pointer-events: none
  181. top: 38%
  182. transform: 'translate(0%,-50%)'
  183. type: state-label
  184. - entity: sensor.vacuum_fan_speed
  185. style:
  186. border-color: '#ffffff'
  187. border-left-style: solid
  188. color: '#ffffff'
  189. font-family: Trebuchet MS
  190. font-size: 90%
  191. font-weight: bold
  192. left: 0%
  193. pointer-events: none
  194. top: 68%
  195. transform: 'translate(0%,-50%)'
  196. type: state-label
  197. - entity: sensor.vacuum_cleaned_area
  198. prefix: 'Area: '
  199. style:
  200. color: '#ffffff'
  201. font-family: Trebuchet MS
  202. font-size: 100%
  203. font-weight: bold
  204. left: 59%
  205. pointer-events: none
  206. top: 85%
  207. transform: 'translate(0%,-50%)'
  208. type: state-label
  209. - entity: input_number.ilosc_sprzatan
  210. prefix: 'Ilość sprzątań: '
  211. style:
  212. color: '#ffffff'
  213. font-family: Trebuchet MS
  214. font-size: 100%
  215. font-weight: bold
  216. left: 15%
  217. pointer-events: none
  218. top: 85%
  219. transform: 'translate(0%,-50%)'
  220. type: state-label
  221. image: /local/image/vacuum.png
  222. type: picture-elements
  223. - type: entities
  224. entities:
  225. - entity: input_select.vacuum_room
  226. image: /local/image/vacuumicon.png
  227. name: Pomieszczenia
  228. style: |
  229. ha-card {
  230. background: url('/local/image/vacuumlist.png');
  231. }
  232. type: 'custom:vertical-stack-in-card'
  233.  
Add Comment
Please, Sign In to add comment