Advertisement
boelle11

Untitled

Nov 23rd, 2021
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. type: vertical-stack
  2. cards:
  3. - entity: sensor.vacuum2
  4. type: custom:roomba-vacuum-card
  5. - entities:
  6. - input_boolean.vacuum_clean_bedroom
  7. - input_boolean.vacuum_clean_office
  8. - entity: automation.vacuum_clean_rooms
  9. lock:
  10. enabled: |
  11. [[[
  12. if ((states['group.vacuum_rooms'].state == "on") && (states['sensor.vacuum'].state == "Ready"))
  13. return false;
  14. return true;
  15. ]]]
  16. exemptions: []
  17. name: Clean Rooms
  18. styles:
  19. card:
  20. - height: 50px
  21. tap_action:
  22. action: call-service
  23. service: automation.trigger
  24. service_data:
  25. entity_id: automation.vacuum_clean_rooms
  26. type: custom:button-card
  27. head:
  28. label: Selective Room Cleaning
  29. type: section
  30. type: custom:fold-entity-row
  31. - entities:
  32. - style: |-
  33. .text-divider {
  34. padding: 0em;
  35. margin: 0em;
  36. } h2 {
  37. font-size: 1em;
  38. margin-block-start: 0em;
  39. margin-block-end: 0em;
  40. }
  41. text: Clean
  42. type: custom:text-divider-row
  43. - color: '#40bf6a'
  44. due: true
  45. entity: sensor.vacuum_maint_clean_brushes
  46. severity:
  47. - color: '#bfb540'
  48. value: 0 days
  49. - color: '#bf4060'
  50. value: '-1 days'
  51. timeout: 10 days
  52. title: Brushes
  53. type: custom:check-button-card
  54. - color: '#40bf6a'
  55. due: true
  56. entity: sensor.vacuum_maint_clean_contacts
  57. severity:
  58. - color: '#bfb540'
  59. value: 0 days
  60. - color: '#bf4060'
  61. value: '-3 days'
  62. timeout: 18 days
  63. title: Contacts
  64. type: custom:check-button-card
  65. - color: '#40bf6a'
  66. due: true
  67. entity: sensor.vacuum_maint_clean_filter
  68. severity:
  69. - color: '#bfb540'
  70. value: 0 days
  71. - color: '#bf4060'
  72. value: '-10 days'
  73. timeout: 10 days
  74. title: Filter
  75. type: custom:check-button-card
  76. - color: '#40bf6a'
  77. due: true
  78. entity: sensor.vacuum_maint_clean_wheel
  79. severity:
  80. - color: '#bfb540'
  81. value: 0 days
  82. - color: '#bf4060'
  83. value: '-3 days'
  84. timeout: 18 days
  85. title: Wheel
  86. type: custom:check-button-card
  87. - color: '#40bf6a'
  88. due: true
  89. entity: sensor.vacuum_maint_clean_bin
  90. severity:
  91. - color: '#bfb540'
  92. value: 0 days
  93. - color: '#bf4060'
  94. value: '-3 days'
  95. timeout: 18 days
  96. title: Bin
  97. type: custom:check-button-card
  98. - style: |-
  99. .text-divider {
  100. padding: 0em;
  101. margin: 0em;
  102. } h2 {
  103. font-size: 1em;
  104. margin-block-start: 0em;
  105. margin-block-end: 0em;
  106. }
  107. text: Replace
  108. type: custom:text-divider-row
  109. - color: '#40bf6a'
  110. due: true
  111. entity: sensor.vacuum_maint_replace_brushes
  112. severity:
  113. - color: '#bfb540'
  114. value: 0 months
  115. - color: '#bf4060'
  116. value: '-4 months'
  117. timeout: 8 months
  118. title: Brushes
  119. type: custom:check-button-card
  120. - color: '#40bf6a'
  121. due: true
  122. entity: sensor.vacuum_maint_replace_filter
  123. severity:
  124. - color: '#bfb540'
  125. value: 0 months
  126. - color: '#bf4060'
  127. value: '-1 months'
  128. timeout: 3 months
  129. title: Filter
  130. type: custom:check-button-card
  131. - color: '#40bf6a'
  132. due: true
  133. entity: sensor.vacuum_maint_replace_wheel
  134. severity:
  135. - color: '#bfb540'
  136. value: 0 months
  137. - color: '#bf4060'
  138. value: '-4 months'
  139. timeout: 2 years
  140. title: Wheel
  141. type: custom:check-button-card
  142. head:
  143. label: Maintenance
  144. type: section
  145. type: custom:fold-entity-row
  146.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement