Advertisement
abeksis

Untitled

Apr 16th, 2022
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.02 KB | None | 0 0
  1. title: test
  2. icon: 'mdi:bottle-tonic-skull'
  3. path: test
  4. type: custom:grid-layout
  5. layout:
  6. grid-template-columns: 1fr
  7. grid-template-rows: auto
  8. mediaquery:
  9. "(min-width: 800px)":
  10. grid-template-columns: 700px
  11. cards:
  12. - type: horizontal-stack
  13. cards:
  14. - type: custom:button-card
  15. template: edge
  16.  
  17. # Home Back
  18. - type: 'custom:button-card'
  19. template: chip_back
  20. variables:
  21. ulm_chip_back_path: /lovelace-minimalist/home
  22.  
  23. - type: vertical-stack
  24. cards:
  25. - type: custom:swipe-card
  26. cards:
  27. - type: custom:layout-card
  28. layout_type: grid
  29. layout_options:
  30. grid-template-columns: 1fr
  31. grid-template-rows: auto
  32. grid-gap: 0px 4px
  33. mediaquery:
  34. "(max-width: 450px)":
  35. grid-template-columns: 1fr
  36. cards:
  37. ### קולט אדים ###
  38. - type: custom:button-card
  39. template: edge
  40. - type: custom:button-card
  41. show_icon: false
  42. show_name: false
  43. show_label: false
  44. styles:
  45. grid:
  46. - grid-template-areas: "'item1 item1' 'item2 item2' 'item3 item3' 'item4 item4' 'item5 item5'"
  47. - grid-template-columns: 1fr 1fr
  48. - grid-template-rows: "min-content min-content min-content"
  49. - row-gap: 10px
  50. card:
  51. - border-radius: var(--border-radius)
  52. - box-shadow: var(--box-shadow)
  53. - padding: 10px
  54. custom_fields:
  55. item1:
  56. card:
  57. type: custom:button-card
  58. template: card_title
  59. name: Steam Collector
  60. label: '[[[ return "it has " + states["sensor.power_calc_total_steam"].state + "₪ Shekel." ]]]'
  61. item2:
  62. card:
  63. type: custom:button-card
  64. entity: sensor.power_calc_total_steam
  65. show_entity_picture: true
  66. show_icon: false
  67. show_name: false
  68. entity_picture: /local/steam_collector.png
  69. style:
  70. - padding: 0px
  71. styles:
  72. card:
  73. - box-shadow: "none"
  74. entity_picture:
  75. - width: 100%
  76. - padding-bottom: 0%
  77. item3:
  78. card:
  79. type: custom:button-card
  80. template: list_2_items
  81. custom_fields:
  82. item1:
  83. card:
  84. type: custom:button-card
  85. template: card_power_outlet
  86. entity: sensor.power_calc_today_steam
  87. name: Today
  88. styles:
  89. card:
  90. - box-shadow: "none"
  91. item2:
  92. card:
  93. type: custom:button-card
  94. template: card_power_outlet
  95. entity: sensor.power_calc_yesterday_steam
  96. name: Yesterday
  97. styles:
  98. card:
  99. - box-shadow: "none"
  100. item4:
  101. card:
  102. type: custom:button-card
  103. template: list_2_items
  104. custom_fields:
  105. item1:
  106. card:
  107. type: custom:button-card
  108. template: card_graph
  109. variables:
  110. ulm_card_graph_color: "var(--google-blue)"
  111. ulm_card_graph_entity: sensor.tasmota_energy_power
  112. ulm_card_graph_hours: 60
  113. ulm_card_graph_type: Reichweite
  114. ulm_card_graph_name: Total
  115. styles:
  116. card:
  117. - box-shadow: "none"
  118.  
  119. item2:
  120. card:
  121. type: custom:button-card
  122. template: card_graph
  123. variables:
  124. ulm_card_graph_color: "var(--google-green)"
  125. ulm_card_graph_entity: sensor.tasmota_steam_wi_fi_quality
  126. ulm_card_graph_hours: 60
  127. ulm_card_graph_name: Reichweite
  128. ulm_card_graph_type: WiFi
  129. styles:
  130. card:
  131. - box-shadow: "none"
  132. item5:
  133. card:
  134. type: custom:button-card
  135. template: card_script
  136. variables:
  137. ulm_card_script_title: 'Steam Collector'
  138. ulm_card_script_icon: 'mdi:pot-steam'
  139. tap_action:
  140. action: call-service
  141. service: script.turn_off
  142. service_data:
  143. entity_id: switch.steam
  144. styles:
  145. card:
  146. - box-shadow: "none"
  147.  
  148. - type: custom:layout-card
  149. layout_type: grid
  150. layout_options:
  151. grid-template-columns: 1fr
  152. grid-template-rows: auto
  153. grid-gap: 0px 4px
  154. mediaquery:
  155. "(max-width: 450px)":
  156. grid-template-columns: 1fr
  157. cards:
  158. ### מדיח כלים ###
  159.  
  160. - type: custom:button-card
  161. template: edge
  162. - type: custom:button-card
  163. show_icon: false
  164. show_name: false
  165. show_label: false
  166. styles:
  167. grid:
  168. - grid-template-areas: "'item1 item1' 'item2 item2' 'item3 item3' 'item4 item4' 'item5 item5'"
  169. - grid-template-columns: 1fr 1fr
  170. - grid-template-rows: "min-content min-content min-content"
  171. - row-gap: 10px
  172. card:
  173. - border-radius: var(--border-radius)
  174. - box-shadow: var(--box-shadow)
  175. - padding: 10px
  176. custom_fields:
  177. item1:
  178. card:
  179. type: custom:button-card
  180. template: card_title
  181. name: Dishwasher
  182. label: '[[[ return "it has " + states["sensor.power_calc_total_dishwasher"].state + "₪ Shekel." ]]]'
  183. item2:
  184. card:
  185. type: custom:button-card
  186. entity: sensor.power_calc_total_dishwasher
  187. show_entity_picture: true
  188. show_icon: false
  189. show_name: false
  190. entity_picture: /local/dishwasher-png-hd.png
  191. style:
  192. - padding: 0px
  193. styles:
  194. card:
  195. - box-shadow: "none"
  196. entity_picture:
  197. - width: 50%
  198. - padding-bottom: 0%
  199. item3:
  200. card:
  201. type: custom:button-card
  202. template: list_2_items
  203. custom_fields:
  204. item1:
  205. card:
  206. type: custom:button-card
  207. template: card_power_outlet
  208. entity: sensor.power_calc_today_dishwasher
  209. name: Today
  210. styles:
  211. card:
  212. - box-shadow: "none"
  213. item2:
  214. card:
  215. type: custom:button-card
  216. template: card_power_outlet
  217. entity: sensor.power_calc_yesterday_dishwasher
  218. name: Yesterday
  219. styles:
  220. card:
  221. - box-shadow: "none"
  222. item4:
  223. card:
  224. type: custom:button-card
  225. template: list_2_items
  226. custom_fields:
  227. item1:
  228. card:
  229. type: custom:button-card
  230. template: card_graph
  231. variables:
  232. ulm_card_graph_color: "var(--google-blue)"
  233. ulm_card_graph_entity: sensor.dishwasher_energy_power
  234. ulm_card_graph_hours: 60
  235. ulm_card_graph_type: Reichweite
  236. ulm_card_graph_name: Total
  237. styles:
  238. card:
  239. - box-shadow: "none"
  240.  
  241. item2:
  242. card:
  243. type: custom:button-card
  244. template: card_graph
  245. variables:
  246. ulm_card_graph_color: "var(--google-green)"
  247. ulm_card_graph_entity: sensor.tasmota_dishwasher_power_socket_wi_fi_quality
  248. ulm_card_graph_hours: 60
  249. ulm_card_graph_name: Reichweite
  250. ulm_card_graph_type: WiFi
  251. styles:
  252. card:
  253. - box-shadow: "none"
  254. item5:
  255. card:
  256. type: custom:button-card
  257. template: card_script
  258. variables:
  259. ulm_card_script_title: 'Dishwasher'
  260. ulm_card_script_icon: 'mdi:dishwasher'
  261. tap_action:
  262. action: call-service
  263. service: script.turn_off
  264. service_data:
  265. entity_id: switch.dishwasher
  266. styles:
  267. card:
  268. - box-shadow: "none"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement