Advertisement
Guest User

Untitled

a guest
Jun 12th, 2021
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.76 KB | None | 0 0
  1. type: grid
  2. cards:
  3. - type: custom:button-card
  4. show_icon: true
  5. entity_picture: /local/house.png
  6. show_entity_picture: true
  7. tap_action:
  8. action: navigate
  9. navigation_path: '#p1'
  10. entity: sensor.aussenfuhler_temperature
  11. name: Zu Hause
  12. show_label: true
  13. styles:
  14. custom_fields:
  15. graph:
  16. - position: absolute
  17. - left: 0px
  18. - top: 143px
  19. topleft:
  20. - position: absolute
  21. - left: 15px
  22. - top: 10px
  23. topright:
  24. - position: absolute
  25. - left: 205px
  26. - top: 10px
  27. grid:
  28. - grid-template-areas: '"i" "n" "l"'
  29. - grid-template-columns: 1fr
  30. - grid-template-rows: 1fr min-content min-content
  31. card:
  32. - border-radius: 10px
  33. - box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2)
  34. - min-height: 220px
  35. - min-height: 220px
  36. - min-width: 150px
  37. icon:
  38. - width: 50px
  39. img_cell:
  40. - padding-top: 20px
  41. name:
  42. - color: var(--secondary-text-color)
  43. - justify-self: center
  44. label:
  45. - font-size: 12px
  46. - justify-self: center
  47. - padding-bottom: 70px
  48. state:
  49. - value: disarmed
  50. label: Avlarmat
  51. - value: armed
  52. label: Larmet är på !
  53. entity_picture: /local/larmet.png
  54. - value: partially_armed
  55. label: Nattläget är aktiverat !
  56. entity_picture: /local/sleep.png
  57. custom_fields:
  58. graph:
  59. card:
  60. type: custom:mini-graph-card
  61. card_mod:
  62. style: |
  63. ha-card {
  64. --ha-card-background: transparent;
  65. color: var(--secondary-text-color);
  66. width: 150px;
  67. border-radius: 0px;
  68. }
  69. entities:
  70. - entity: sensor.aussenfuhler_temperature
  71. show:
  72. icon: false
  73. name: false
  74. points: false
  75. font_size: 40
  76. color_thresholds:
  77. - value: 19
  78. color: '#b0abf4'
  79. - value: 21
  80. color: '#c696eb'
  81. - value: 23
  82. color: '#cd79b3'
  83. topright:
  84. card:
  85. type: custom:button-card
  86. entity: switch.licht_carport
  87. show_state: false
  88. show_name: false
  89. icon: ios:lightbulb
  90. styles:
  91. icon:
  92. - width: 20px
  93. topleft:
  94. card:
  95. type: custom:button-card
  96. entity: switch.licht_carport
  97. show_state: false
  98. show_name: false
  99. icon: mdi:window-closed-variant
  100. styles:
  101. card:
  102. - transition: all 2s ease-out
  103. icon:
  104. - width: 20px
  105. - type: custom:button-card
  106. show_icon: true
  107. entity_picture: /local/lampa.png
  108. show_entity_picture: true
  109. entity: sensor.aussenfuhler_temperature
  110. show_state: true
  111. tap_action:
  112. action: navigate
  113. navigation_path: '#p2'
  114. name: Beleuchtung
  115. styles:
  116. custom_fields:
  117. graph:
  118. - position: absolute
  119. - left: 0px
  120. - top: 143px
  121. topleft:
  122. - position: absolute
  123. - left: 15px
  124. - top: 10px
  125. topright:
  126. - position: absolute
  127. - left: 115px
  128. - top: 10px
  129. grid:
  130. - grid-template-areas: '"i" "n" "s"'
  131. - grid-template-columns: 1fr
  132. - grid-template-rows: 1fr min-content min-content
  133. card:
  134. - border-radius: 10px
  135. - box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2)
  136. - min-height: 220px
  137. - min-width: 150px
  138. img_cell:
  139. - padding-top: 30px
  140. icon:
  141. - width: 50px
  142. name:
  143. - color: var(--secondary-text-color)
  144. state:
  145. - padding-bottom: 0px
  146. - font-size: 12px
  147. custom_fields:
  148. graph:
  149. card:
  150. type: custom:mini-graph-card
  151. card_mod:
  152. style: |
  153. ha-card {
  154. --ha-card-background: transparent;
  155. color: var(--secondary-text-color);
  156. width: 150px;
  157. border-radius: 0px;
  158. }
  159. entities:
  160. - entity: sensor.bewegunsmelder_hauszuweg_brightness
  161. show:
  162. icon: false
  163. name: false
  164. points: false
  165. font_size: 40
  166. color_thresholds:
  167. - value: 10
  168. color: '#9f882b'
  169. - value: 20
  170. color: '#f6d44c'
  171. - value: 30
  172. color: '#ffcc00'
  173. topright:
  174. card:
  175. type: custom:button-card
  176. entity: switch.licht_carport
  177. show_state: false
  178. show_name: false
  179. icon: mdi:shield-outline
  180. styles:
  181. icon:
  182. - width: 20px
  183. topleft:
  184. card:
  185. type: custom:button-card
  186. entity: switch.licht_carport
  187. show_state: false
  188. show_name: false
  189. icon: ios:house
  190. styles:
  191. card:
  192. - transition: all 2s ease-out
  193. icon:
  194. - width: 20px
  195. - type: custom:button-card
  196. show_icon: true
  197. entity_picture: /local/house.png
  198. show_entity_picture: true
  199. tap_action:
  200. action: navigate
  201. navigation_path: '#p1'
  202. entity: sensor.aussenfuhler_temperature
  203. name: Zu Hause
  204. show_label: true
  205. styles:
  206. custom_fields:
  207. graph:
  208. - position: absolute
  209. - left: 0px
  210. - top: 143px
  211. topleft:
  212. - position: absolute
  213. - left: 15px
  214. - top: 10px
  215. topright:
  216. - position: absolute
  217. - left: 205px
  218. - top: 10px
  219. grid:
  220. - grid-template-areas: '"i" "n" "l"'
  221. - grid-template-columns: 1fr
  222. - grid-template-rows: 1fr min-content min-content
  223. card:
  224. - border-radius: 10px
  225. - box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2)
  226. - min-height: 220px
  227. - min-height: 220px
  228. - min-width: 150px
  229. icon:
  230. - width: 50px
  231. img_cell:
  232. - padding-top: 20px
  233. name:
  234. - color: var(--secondary-text-color)
  235. - justify-self: center
  236. label:
  237. - font-size: 12px
  238. - justify-self: center
  239. - padding-bottom: 70px
  240. state:
  241. - value: disarmed
  242. label: Avlarmat
  243. - value: armed
  244. label: Larmet är på !
  245. entity_picture: /local/larmet.png
  246. - value: partially_armed
  247. label: Nattläget är aktiverat !
  248. entity_picture: /local/sleep.png
  249. custom_fields:
  250. graph:
  251. card:
  252. type: custom:mini-graph-card
  253. card_mod:
  254. style: |
  255. ha-card {
  256. --ha-card-background: transparent;
  257. color: var(--secondary-text-color);
  258. width: 150px;
  259. border-radius: 0px;
  260. }
  261. entities:
  262. - entity: sensor.aussenfuhler_temperature
  263. show:
  264. icon: false
  265. name: false
  266. points: false
  267. font_size: 40
  268. color_thresholds:
  269. - value: 19
  270. color: '#b0abf4'
  271. - value: 21
  272. color: '#c696eb'
  273. - value: 23
  274. color: '#cd79b3'
  275. topright:
  276. card:
  277. type: custom:button-card
  278. entity: switch.licht_carport
  279. show_state: false
  280. show_name: false
  281. icon: ios:lightbulb
  282. styles:
  283. icon:
  284. - width: 20px
  285. topleft:
  286. card:
  287. type: custom:button-card
  288. entity: switch.licht_carport
  289. show_state: false
  290. show_name: false
  291. icon: mdi:window-closed-variant
  292. styles:
  293. card:
  294. - transition: all 2s ease-out
  295. icon:
  296. - width: 20px
  297. - type: custom:button-card
  298. show_icon: true
  299. entity_picture: /local/house.png
  300. show_entity_picture: true
  301. tap_action:
  302. action: navigate
  303. navigation_path: '#p1'
  304. entity: sensor.aussenfuhler_temperature
  305. name: Zu Hause
  306. show_label: true
  307. styles:
  308. custom_fields:
  309. graph:
  310. - position: absolute
  311. - left: 0px
  312. - top: 143px
  313. topleft:
  314. - position: absolute
  315. - left: 15px
  316. - top: 10px
  317. topright:
  318. - position: absolute
  319. - left: 205px
  320. - top: 10px
  321. grid:
  322. - grid-template-areas: '"i" "n" "l"'
  323. - grid-template-columns: 1fr
  324. - grid-template-rows: 1fr min-content min-content
  325. card:
  326. - border-radius: 10px
  327. - box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2)
  328. - min-height: 220px
  329. - min-height: 220px
  330. - min-width: 150px
  331. icon:
  332. - width: 50px
  333. img_cell:
  334. - padding-top: 20px
  335. name:
  336. - color: var(--secondary-text-color)
  337. - justify-self: center
  338. label:
  339. - font-size: 12px
  340. - justify-self: center
  341. - padding-bottom: 70px
  342. state:
  343. - value: disarmed
  344. label: Avlarmat
  345. - value: armed
  346. label: Larmet är på !
  347. entity_picture: /local/larmet.png
  348. - value: partially_armed
  349. label: Nattläget är aktiverat !
  350. entity_picture: /local/sleep.png
  351. custom_fields:
  352. graph:
  353. card:
  354. type: custom:mini-graph-card
  355. card_mod:
  356. style: |
  357. ha-card {
  358. --ha-card-background: transparent;
  359. color: var(--secondary-text-color);
  360. width: 150px;
  361. border-radius: 0px;
  362. }
  363. entities:
  364. - entity: sensor.aussenfuhler_temperature
  365. show:
  366. icon: false
  367. name: false
  368. points: false
  369. font_size: 40
  370. color_thresholds:
  371. - value: 19
  372. color: '#b0abf4'
  373. - value: 21
  374. color: '#c696eb'
  375. - value: 23
  376. color: '#cd79b3'
  377. topright:
  378. card:
  379. type: custom:button-card
  380. entity: switch.licht_carport
  381. show_state: false
  382. show_name: false
  383. icon: ios:lightbulb
  384. styles:
  385. icon:
  386. - width: 20px
  387. topleft:
  388. card:
  389. type: custom:button-card
  390. entity: switch.licht_carport
  391. show_state: false
  392. show_name: false
  393. icon: mdi:window-closed-variant
  394. styles:
  395. card:
  396. - transition: all 2s ease-out
  397. icon:
  398. - width: 20px
  399. columns: 2
  400. square: false
  401.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement