Advertisement
elradix

plant card

Sep 22nd, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.07 KB | None | 0 0
  1. cards:
  2. - type: 'custom:flex-horseshoe-card'
  3. entities:
  4. - entity: sensor.miflower_moisture
  5. decimals: 0
  6. icon: 'mdi:memory'
  7. name: ' '
  8. area: orchidee
  9. - entity: sensor.miflower_conductivity
  10. decimals: 0
  11. unit: ''
  12. name: 'fertilizer '
  13. icon: 'mdi:emoticon-poop'
  14. - entity: sensor.miflower_light_intensity
  15. decimals: 0
  16. unit: ''
  17. name: light lx
  18. show:
  19. scale_tickmarks: true
  20. layout:
  21. hlines:
  22. - id: 0
  23. xpos: 50
  24. ypos: 38
  25. length: 40
  26. styles:
  27. - stroke: var(--primary-text-color);
  28. - stroke-width: 2;
  29. - opacity: 0.5;
  30. - stroke-linecap: round;
  31. color: '#FFF6E3'
  32. vlines:
  33. - id: 0
  34. xpos: 50
  35. ypos: 56
  36. length: 20
  37. styles:
  38. - stroke: var(--primary-text-color);
  39. - opacity: 0.5;
  40. - stroke-width: 2;
  41. - stroke-linecap: round;
  42. states:
  43. - id: 0
  44. entity_index: 0
  45. xpos: 50
  46. ypos: 30
  47. styles:
  48. - font-size: 3em;
  49. - opacity: 0.9;
  50. - id: 1
  51. entity_index: 1
  52. xpos: 46
  53. ypos: 54
  54. styles:
  55. - font-size: 1.8em;
  56. - text-anchor: end;
  57. - id: 2
  58. entity_index: 2
  59. xpos: 54
  60. ypos: 54
  61. styles:
  62. - font-size: 1.8em;
  63. - text-anchor: start;
  64. names:
  65. - id: 0
  66. entity_index: 0
  67. xpos: 50
  68. ypos: 100
  69. styles:
  70. - font-size: 1.2em;
  71. - id: 1
  72. entity_index: 1
  73. xpos: 46
  74. ypos: 62
  75. styles:
  76. - font-size: 0.9em;
  77. - text-anchor: end;
  78. - opacity: 0.7;
  79. - id: 2
  80. entity_index: 2
  81. xpos: 54
  82. ypos: 62
  83. styles:
  84. - font-size: 0.9em;
  85. - text-anchor: start;
  86. - opacity: 0.7;
  87. areas:
  88. - id: 0
  89. entity_index: 0
  90. xpos: 50
  91. ypos: 85
  92. styles:
  93. - font-size: 1.5em;
  94. horseshoe_state:
  95. color: '#FFF6E3'
  96. horseshoe_scale:
  97. min: 0
  98. max: 100
  99. color: var(--primary-background-color)
  100. width: 6
  101. color_stops:
  102. '0': '#FFF6E3'
  103. '10': '#FFE9B9'
  104. '20': '#FFDA8A'
  105. '30': '#FFCB5B'
  106. '40': '#FFBF37'
  107. '50': '#ffb414'
  108. '60': '#FFAD12'
  109. '70': '#FFA40E'
  110. '80': '#FF9C0B'
  111. '90': '#FF8C06'
  112. - type: 'custom:flex-horseshoe-card'
  113. entities:
  114. - entity: sensor.miflower_moisture
  115. decimals: 0
  116. icon: 'mdi:memory'
  117. name: ' '
  118. area: orchidee
  119. - entity: sensor.miflower_conductivity
  120. decimals: 0
  121. unit: ''
  122. name: ' '
  123. icon: 'mdi:emoticon-poop'
  124. - entity: sensor.miflower_light_intensity
  125. decimals: 0
  126. unit: ''
  127. name: ' '
  128. - entity: sensor.miflower_temperature
  129. decimals: 0
  130. unit: ''
  131. name: ' '
  132. show:
  133. scale_tickmarks: true
  134. layout:
  135. hlines:
  136. - id: 0
  137. xpos: 50
  138. ypos: 38
  139. length: 40
  140. styles:
  141. - stroke: var(--primary-text-color);
  142. - stroke-width: 2;
  143. - opacity: 0.5;
  144. - stroke-linecap: round;
  145. color: '#FFF6E3'
  146. vlines:
  147. - id: 0
  148. xpos: 50
  149. ypos: 56
  150. length: 20
  151. styles:
  152. - stroke: var(--primary-text-color);
  153. - opacity: 0.5;
  154. - stroke-width: 2;
  155. - stroke-linecap: round;
  156. states:
  157. - id: 0
  158. entity_index: 0
  159. xpos: 50
  160. ypos: 30
  161. styles:
  162. - font-size: 3em;
  163. - opacity: 0.9;
  164. - id: 1
  165. entity_index: 1
  166. xpos: 46
  167. ypos: 54
  168. styles:
  169. - font-size: 1.8em;
  170. - text-anchor: end;
  171. - id: 2
  172. entity_index: 2
  173. xpos: 54
  174. ypos: 54
  175. styles:
  176. - font-size: 1.8em;
  177. - text-anchor: start;
  178. - id: 3
  179. entity_index: 3
  180. xpos: 39
  181. ypos: 79
  182. styles:
  183. - font-size: 1.8em;
  184. - text-anchor: start;
  185.  
  186. icons:
  187. # Icons 0 refers to the second entity in the list, ie index 1
  188. - id: 1
  189. entity_index: 1
  190. xpos: 39
  191. ypos: 65
  192. align: end
  193. size: 1.3
  194. - id: 2
  195. entity_index: 2
  196. xpos: 75
  197. ypos: 65
  198. align: end
  199. size: 1.3
  200.  
  201.  
  202. names:
  203. - id: 0
  204. entity_index: 0
  205. xpos: 50
  206. ypos: 100
  207. styles:
  208. - font-size: 1.2em;
  209. - id: 1
  210. entity_index: 1
  211. xpos: 46
  212. ypos: 62
  213. styles:
  214. - font-size: 0.9em;
  215. - text-anchor: end;
  216. - opacity: 0.7;
  217. - id: 2
  218. entity_index: 2
  219. xpos: 54
  220. ypos: 62
  221. styles:
  222. - font-size: 0.9em;
  223. - text-anchor: start;
  224. - opacity: 0.7;
  225. - id: 3
  226. entity_index: 3
  227. xpos: 50
  228. ypos: 80
  229. styles:
  230. - font-size: 0.9em;
  231. - text-anchor: start;
  232. - opacity: 0.7;
  233. areas:
  234. - id: 0
  235. entity_index: 0
  236. xpos: 50
  237. ypos: 99
  238. styles:
  239. - font-size: 1.5em;
  240. horseshoe_state:
  241. color: '#FFF6E3'
  242. horseshoe_scale:
  243. min: 0
  244. max: 100
  245. color: var(--primary-background-color)
  246. width: 6
  247. color_stops:
  248. '0': '#FFF6E3'
  249. '10': '#FFE9B9'
  250. '20': '#FFDA8A'
  251. '30': '#FFCB5B'
  252. '40': '#FFBF37'
  253. '50': '#ffb414'
  254. '60': '#FFAD12'
  255. '70': '#FFA40E'
  256. '80': '#FF9C0B'
  257. '90': '#FF8C06'
  258. type: horizontal-stack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement