Advertisement
abeksis

test

Apr 16th, 2022
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.47 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. ###----- קולט אדים
  24. - type: vertical-stack
  25. cards:
  26. - type: custom:swipe-card
  27. start_card: 1
  28. parameters:
  29. roundLengths: true
  30. effect: coverflow
  31. speed: 650
  32. spaceBetween: 20
  33. threshold: 7
  34. coverflowEffect:
  35. rotate: 80
  36. depth: 300
  37. cards:
  38.  
  39. - type: custom:layout-card
  40. layout_type: grid
  41.  
  42. layout_options:
  43. grid-template-columns: 1fr
  44. grid-template-rows: auto
  45. grid-gap: 0px 4px
  46. mediaquery:
  47. "(max-width: 450px)":
  48. grid-template-columns: 1fr
  49. cards:
  50. - type: custom:button-card
  51. template: edge
  52. - type: custom:button-card
  53. show_icon: false
  54. show_name: false
  55. show_label: false
  56. styles:
  57. grid:
  58. - grid-template-areas: "'item1 item1' 'item2 item2' 'item3 item3' 'item4 item4' 'item5 item5'"
  59. - grid-template-columns: 1fr 1fr
  60. - grid-template-rows: "min-content min-content min-content"
  61. - row-gap: 10px
  62. card:
  63. - border-radius: var(--border-radius)
  64. - box-shadow: var(--box-shadow)
  65. - padding: 10px
  66. custom_fields:
  67. item1:
  68. card:
  69. type: custom:button-card
  70. template: card_title
  71. name: Steam Collector
  72. label: '[[[ return "it has " + states["sensor.power_calc_total_steam"].state + "₪ Shekel." ]]]'
  73. item2:
  74. card:
  75. type: custom:button-card
  76. entity: sensor.power_calc_total_steam
  77. show_entity_picture: true
  78. show_icon: false
  79. show_name: false
  80. entity_picture: /local/steam_collector.png
  81. style:
  82. - padding: 0px
  83. styles:
  84. card:
  85. - box-shadow: "none"
  86. entity_picture:
  87. - width: 89%
  88. - padding-bottom: 0%
  89. item3:
  90. card:
  91. type: custom:button-card
  92. template: list_2_items
  93. custom_fields:
  94. item1:
  95. card:
  96. type: custom:button-card
  97. template: card_power_outlet
  98. entity: sensor.power_calc_today_steam
  99. name: Today
  100. styles:
  101. card:
  102. - box-shadow: "none"
  103. item2:
  104. card:
  105. type: custom:button-card
  106. template: card_power_outlet
  107. entity: sensor.power_calc_yesterday_steam
  108. name: Yesterday
  109. styles:
  110. card:
  111. - box-shadow: "none"
  112. item4:
  113. card:
  114. type: custom:button-card
  115. template: list_2_items
  116. custom_fields:
  117. item1:
  118. card:
  119. type: custom:button-card
  120. template: card_graph
  121. variables:
  122. ulm_card_graph_color: "var(--google-blue)"
  123. ulm_card_graph_entity: sensor.tasmota_energy_power
  124. ulm_card_graph_hours: 60
  125. ulm_card_graph_type: Reichweite
  126. ulm_card_graph_name: Total
  127. styles:
  128. card:
  129. - box-shadow: "none"
  130.  
  131. item2:
  132. card:
  133. type: custom:button-card
  134. template: card_graph
  135. variables:
  136. ulm_card_graph_color: "var(--google-green)"
  137. ulm_card_graph_entity: sensor.tasmota_steam_wi_fi_quality
  138. ulm_card_graph_hours: 60
  139. ulm_card_graph_name: Reichweite
  140. ulm_card_graph_type: WiFi
  141. styles:
  142. card:
  143. - box-shadow: "none"
  144. item5:
  145. card:
  146. type: custom:button-card
  147. template: card_script
  148. variables:
  149. ulm_card_script_title: 'Steam Collector'
  150. ulm_card_script_icon: 'mdi:pot-steam'
  151. tap_action:
  152. action: call-service
  153. service: script.turn_off
  154. service_data:
  155. entity_id: switch.steam
  156. styles:
  157. card:
  158. - box-shadow: "none"
  159.  
  160. ##----- מדיח כלים
  161. - type: vertical-stack
  162. cards:
  163. - type: custom:layout-card
  164. layout_type: grid
  165. layout_options:
  166. grid-template-columns: 1fr
  167. grid-template-rows: auto
  168. grid-gap: 0px 4px
  169. mediaquery:
  170. "(max-width: 450px)":
  171. grid-template-columns: 1fr
  172. cards:
  173. - type: custom:button-card
  174. show_icon: false
  175. show_name: false
  176. show_label: false
  177. styles:
  178. grid:
  179. - grid-template-areas: "'item1 item1' 'item2 item2' 'item3 item3' 'item4 item4' 'item5 item5'"
  180. - grid-template-columns: 1fr 1fr
  181. - grid-template-rows: "min-content min-content min-content"
  182. - row-gap: 10px
  183. card:
  184. - border-radius: var(--border-radius)
  185. - box-shadow: var(--box-shadow)
  186. - padding: 10px
  187. custom_fields:
  188. item1:
  189. card:
  190. type: custom:button-card
  191. template: card_title
  192. name: Dishwasher
  193. label: '[[[ return "it has " + states["sensor.power_calc_total_dishwasher"].state + "₪ Shekel." ]]]'
  194. item2:
  195. card:
  196. type: custom:button-card
  197. entity: sensor.power_calc_total_dishwasher
  198. show_entity_picture: true
  199. show_icon: false
  200. show_name: false
  201. entity_picture: /local/dishwasher-png-hd.png
  202. style:
  203. - padding: 0px
  204. styles:
  205. card:
  206. - box-shadow: "none"
  207. entity_picture:
  208. - width: 50%
  209. - padding-bottom: 0%
  210. item3:
  211. card:
  212. type: custom:button-card
  213. template: list_2_items
  214. custom_fields:
  215. item1:
  216. card:
  217. type: custom:button-card
  218. template: card_power_outlet
  219. entity: sensor.power_calc_today_dishwasher
  220. name: Today
  221. styles:
  222. card:
  223. - box-shadow: "none"
  224. item2:
  225. card:
  226. type: custom:button-card
  227. template: card_power_outlet
  228. entity: sensor.power_calc_yesterday_dishwasher
  229. name: Yesterday
  230. styles:
  231. card:
  232. - box-shadow: "none"
  233. item4:
  234. card:
  235. type: custom:button-card
  236. template: list_2_items
  237. custom_fields:
  238. item1:
  239. card:
  240. type: custom:button-card
  241. template: card_graph
  242. variables:
  243. ulm_card_graph_color: "var(--google-blue)"
  244. ulm_card_graph_entity: sensor.dishwasher_energy_power
  245. ulm_card_graph_hours: 60
  246. ulm_card_graph_type: Reichweite
  247. ulm_card_graph_name: Total
  248. styles:
  249. card:
  250. - box-shadow: "none"
  251.  
  252. item2:
  253. card:
  254. type: custom:button-card
  255. template: card_graph
  256. variables:
  257. ulm_card_graph_color: "var(--google-green)"
  258. ulm_card_graph_entity: sensor.tasmota_dishwasher_power_socket_wi_fi_quality
  259. ulm_card_graph_hours: 60
  260. ulm_card_graph_name: Reichweite
  261. ulm_card_graph_type: WiFi
  262. styles:
  263. card:
  264. - box-shadow: "none"
  265. item5:
  266. card:
  267. type: custom:button-card
  268. template: card_script
  269. variables:
  270. ulm_card_script_title: 'Dishwasher'
  271. ulm_card_script_icon: 'mdi:dishwasher'
  272. tap_action:
  273. action: call-service
  274. service: script.turn_off
  275. service_data:
  276. entity_id: switch.dishwasher
  277. styles:
  278. card:
  279. - box-shadow: "none"
  280.  
  281.  
  282. ###----- מכונת כביסה
  283. - type: vertical-stack
  284. cards:
  285. - type: custom:button-card
  286. template: edge
  287. - type: custom:layout-card
  288. layout_type: grid
  289. layout_options:
  290. grid-template-columns: 1fr
  291. grid-template-rows: auto
  292. grid-gap: 0px 4px
  293. mediaquery:
  294. "(max-width: 450px)":
  295. grid-template-columns: 1fr
  296. cards:
  297. - type: custom:button-card
  298. template: edge
  299. - type: custom:button-card
  300. show_icon: false
  301. show_name: false
  302. show_label: false
  303. styles:
  304. grid:
  305. - grid-template-areas: "'item1 item1' 'item2 item2' 'item3 item3' 'item4 item4' 'item5 item5'"
  306. - grid-template-columns: 1fr 1fr
  307. - grid-template-rows: "min-content min-content min-content"
  308. - row-gap: 10px
  309. card:
  310. - border-radius: var(--border-radius)
  311. - box-shadow: var(--box-shadow)
  312. - padding: 10px
  313. custom_fields:
  314. item1:
  315. card:
  316. type: custom:button-card
  317. template: card_title
  318. name: Washing Machine
  319. label: '[[[ return "it has " + states["sensor.power_calc_total_washing_machine"].state + "₪ Shekel." ]]]'
  320. item2:
  321. card:
  322. type: custom:button-card
  323. entity: sensor.power_calc_total_washing_machine
  324. show_entity_picture: true
  325. show_icon: false
  326. show_name: false
  327. entity_picture: /local/washing_machine.png
  328. style:
  329. - padding: 0px
  330. styles:
  331. card:
  332. - box-shadow: "none"
  333. entity_picture:
  334. - width: 38%
  335. - padding-bottom: 0%
  336. item3:
  337. card:
  338. type: custom:button-card
  339. template: list_2_items
  340. custom_fields:
  341. item1:
  342. card:
  343. type: custom:button-card
  344. template: card_power_outlet
  345. entity: sensor.power_calc_today_washing_machine
  346. name: Today
  347. styles:
  348. card:
  349. - box-shadow: "none"
  350. item2:
  351. card:
  352. type: custom:button-card
  353. template: card_power_outlet
  354. entity: sensor.power_calc_yesterday_washing_machine
  355. name: Yesterday
  356. styles:
  357. card:
  358. - box-shadow: "none"
  359. item4:
  360. card:
  361. type: custom:button-card
  362. template: list_2_items
  363. custom_fields:
  364. item1:
  365. card:
  366. type: custom:button-card
  367. template: card_graph
  368. variables:
  369. ulm_card_graph_color: "var(--google-blue)"
  370. ulm_card_graph_entity: sensor.washing_machine_energy_power
  371. ulm_card_graph_hours: 60
  372. ulm_card_graph_type: Reichweite
  373. ulm_card_graph_name: Total
  374. styles:
  375. card:
  376. - box-shadow: "none"
  377.  
  378. item2:
  379. card:
  380. type: custom:button-card
  381. template: card_graph
  382. variables:
  383. ulm_card_graph_color: "var(--google-green)"
  384. ulm_card_graph_entity: sensor.tasmota_washing_machine_wi_fi_quality
  385. ulm_card_graph_hours: 60
  386. ulm_card_graph_name: Reichweite
  387. ulm_card_graph_type: WiFi
  388. styles:
  389. card:
  390. - box-shadow: "none"
  391. item5:
  392. card:
  393. type: custom:button-card
  394. template: card_script
  395. variables:
  396. ulm_card_script_title: 'Washing Machine'
  397. ulm_card_script_icon: 'mdi:washing-machine'
  398. tap_action:
  399. action: call-service
  400. service: script.turn_off
  401. service_data:
  402. entity_id: switch.washing_machine
  403. styles:
  404. card:
  405. - box-shadow: "none"
  406.  
  407.  
  408. ###----- מייבש כביסה
  409. - type: vertical-stack
  410. cards:
  411. - type: custom:button-card
  412. template: edge
  413. - type: custom:layout-card
  414. layout_type: grid
  415. layout_options:
  416. grid-template-columns: 1fr
  417. grid-template-rows: auto
  418. grid-gap: 0px 4px
  419. mediaquery:
  420. "(max-width: 450px)":
  421. grid-template-columns: 1fr
  422. cards:
  423. - type: custom:button-card
  424. template: edge
  425. - type: custom:button-card
  426. show_icon: false
  427. show_name: false
  428. show_label: false
  429. styles:
  430. grid:
  431. - grid-template-areas: "'item1 item1' 'item2 item2' 'item3 item3' 'item4 item4' 'item5 item5'"
  432. - grid-template-columns: 1fr 1fr
  433. - grid-template-rows: "min-content min-content min-content"
  434. - row-gap: 10px
  435. card:
  436. - border-radius: var(--border-radius)
  437. - box-shadow: var(--box-shadow)
  438. - padding: 10px
  439. custom_fields:
  440. item1:
  441. card:
  442. type: custom:button-card
  443. template: card_title
  444. name: Clothes Dryer
  445. label: '[[[ return "it has " + states["sensor.power_calc_total_laundry_dryer"].state + "₪ Shekel." ]]]'
  446. item2:
  447. card:
  448. type: custom:button-card
  449. entity: sensor.power_calc_total_laundry_dryer
  450. show_entity_picture: true
  451. show_icon: false
  452. show_name: false
  453. entity_picture: /local/clothes_dryer.png
  454. style:
  455. - padding: 0px
  456. styles:
  457. card:
  458. - box-shadow: "none"
  459. entity_picture:
  460. - width: 35%
  461. - padding-bottom: 0%
  462. item3:
  463. card:
  464. type: custom:button-card
  465. template: list_2_items
  466. custom_fields:
  467. item1:
  468. card:
  469. type: custom:button-card
  470. template: card_power_outlet
  471. entity: sensor.power_calc_today_laundry_dryer
  472. name: Today
  473. styles:
  474. card:
  475. - box-shadow: "none"
  476. item2:
  477. card:
  478. type: custom:button-card
  479. template: card_power_outlet
  480. entity: sensor.power_calc_yesterday_laundry_dryer
  481. name: Yesterday
  482. styles:
  483. card:
  484. - box-shadow: "none"
  485. item4:
  486. card:
  487. type: custom:button-card
  488. template: list_2_items
  489. custom_fields:
  490. item1:
  491. card:
  492. type: custom:button-card
  493. template: card_graph
  494. variables:
  495. ulm_card_graph_color: "var(--google-blue)"
  496. ulm_card_graph_entity: sensor.washing_machine_energy_power
  497. ulm_card_graph_hours: 60
  498. ulm_card_graph_type: Reichweite
  499. ulm_card_graph_name: Total
  500. styles:
  501. card:
  502. - box-shadow: "none"
  503.  
  504. item2:
  505. card:
  506. type: custom:button-card
  507. template: card_graph
  508. variables:
  509. ulm_card_graph_color: "var(--google-green)"
  510. ulm_card_graph_entity: sensor.tasmota_washing_machine_wi_fi_quality
  511. ulm_card_graph_hours: 60
  512. ulm_card_graph_name: Reichweite
  513. ulm_card_graph_type: WiFi
  514. styles:
  515. card:
  516. - box-shadow: "none"
  517. item5:
  518. card:
  519. type: custom:button-card
  520. template: card_script
  521. variables:
  522. ulm_card_script_title: 'Clothes Dryer'
  523. ulm_card_script_icon: 'mdi:hanger'
  524. tap_action:
  525. action: call-service
  526. service: script.turn_off
  527. service_data:
  528. entity_id: switch.washing_machine
  529. styles:
  530. card:
  531. - box-shadow: "none"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement