Guest User

Untitled

a guest
Jan 19th, 2025
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | Source Code | 0 0
  1.  
  2. ---
  3. Items tracked:
  4. - Baby Metrics:
  5. - pees
  6. - poops
  7. - pukes
  8. - feeds
  9. - meds
  10. - Wifey Metrics:
  11. - snacks
  12. - meds
  13. - pumps
  14. - H20 Reminders
  15. ---
  16. Components Used:
  17. - counter helper
  18. - timer helper
  19. - logbook card
  20. - mushroom tile card
  21. - chip card (used on other dashboards for quick updating counters)
  22. - input button
  23. ---
  24. Automations Used:
  25. - counter reset automation
  26. - timer state change / notification automation
  27. ---
  28. HACS Add-ons used:
  29. - mushroom card
  30. ---
  31. - type: sections
  32. max_columns: 4
  33. icon: mdi:baby-carriage
  34. path: ''
  35. sections:
  36. - type: grid
  37. cards:
  38. - type: heading
  39. heading_style: title
  40. icon: mdi:human-pregnant
  41. heading: Mama's Trackers
  42. badges:
  43. - type: entity
  44. show_state: true
  45. show_icon: true
  46. entity: timer.ibuprofen
  47. visibility:
  48. - condition: state
  49. entity: timer.ibuprofen
  50. state: active
  51. - type: entity
  52. show_state: true
  53. show_icon: true
  54. entity: timer.tylenol
  55. visibility:
  56. - condition: state
  57. entity: timer.tylenol
  58. state: active
  59. - type: entity
  60. entity: counter.pumps
  61. - type: entity
  62. entity: counter.snacks
  63. - type: tile
  64. entity: timer.ibuprofen
  65. tap_action:
  66. action: perform-action
  67. perform_action: timer.start
  68. target:
  69. entity_id: timer.ibuprofen
  70. icon_tap_action:
  71. action: perform-action
  72. perform_action: timer.start
  73. target:
  74. entity_id: timer.ibuprofen
  75. hold_action:
  76. action: more-info
  77. name: Last Ibuprofen
  78. state_content: last_changed
  79. visibility:
  80. - condition: state
  81. entity: timer.ibuprofen
  82. state: idle
  83. - type: tile
  84. entity: timer.tylenol
  85. tap_action:
  86. action: perform-action
  87. perform_action: timer.start
  88. target:
  89. entity_id: timer.tylenol
  90. icon_tap_action:
  91. action: perform-action
  92. perform_action: timer.start
  93. target:
  94. entity_id: timer.tylenol
  95. hold_action:
  96. action: more-info
  97. name: Last Tylenol
  98. state_content: last_changed
  99. - type: custom:mushroom-entity-card
  100. entity: counter.pumps
  101. primary_info: name
  102. secondary_info: last-changed
  103. name: Last Pump
  104. icon_color: purple
  105. tap_action:
  106. action: perform-action
  107. perform_action: counter.increment
  108. target:
  109. entity_id: counter.pumps
  110. hold_action:
  111. action: more-info
  112. double_tap_action:
  113. action: more-info
  114. - type: tile
  115. entity: counter.snacks
  116. color: lime
  117. state_content: last_changed
  118. name: Last Snack
  119. tap_action:
  120. action: perform-action
  121. perform_action: counter.increment
  122. target:
  123. entity_id: counter.snacks
  124. hold_action:
  125. action: more-info
  126. icon_tap_action:
  127. action: perform-action
  128. perform_action: counter.increment
  129. target:
  130. entity_id: counter.snacks
  131. - type: tile
  132. entity: automation.water_reminder
  133. tap_action:
  134. action: perform-action
  135. perform_action: automation.trigger
  136. target:
  137. entity_id: automation.water_reminder
  138. data:
  139. skip_condition: true
  140. icon_tap_action:
  141. action: perform-action
  142. perform_action: automation.trigger
  143. target:
  144. entity_id: automation.water_reminder
  145. data:
  146. skip_condition: true
  147. hold_action:
  148. action: more-info
  149. icon: mdi:water-circle
  150. hide_state: false
  151. state_content: last_triggered
  152. - square: false
  153. type: grid
  154. cards:
  155. - type: custom:timer-bar-card
  156. entity: timer.tylenol
  157. name: Next Tylenol
  158. bar_width: 50%
  159. mushroom:
  160. layout: horizontal
  161. color: cyan
  162. visibility:
  163. - condition: state
  164. entity: timer.tylenol
  165. state: active
  166. tap_action:
  167. action: perform-action
  168. text: Are you sure?
  169. confirmation: true
  170. perform_action: timer.start
  171. target:
  172. entity_id: timer.tylenol
  173. - type: custom:timer-bar-card
  174. entity: timer.ibuprofen
  175. name: Next Ibuprofen
  176. bar_width: 50%
  177. mushroom:
  178. layout: horizontal
  179. color: cyan
  180. visibility:
  181. - condition: state
  182. entity: timer.ibuprofen
  183. state: active
  184. tap_action:
  185. action: perform-action
  186. text: Are you sure?
  187. confirmation: true
  188. perform_action: timer.start
  189. target:
  190. entity_id: timer.ibuprofen
  191. columns: 1
  192. - type: grid
  193. cards:
  194. - type: heading
  195. heading_style: title
  196. heading: Baby's Trackers
  197. icon: mdi:baby-face
  198. badges:
  199. - type: entity
  200. entity: counter.feeds
  201. - type: entity
  202. entity: counter.poops
  203. - type: entity
  204. entity: counter.pees
  205. - type: entity
  206. show_state: true
  207. show_icon: true
  208. entity: counter.pukes
  209. visibility:
  210. - condition: numeric_state
  211. entity: counter.pukes
  212. above: 0
  213. - type: tile
  214. entity: counter.feeds
  215. color: white
  216. tap_action:
  217. action: perform-action
  218. perform_action: counter.increment
  219. target:
  220. entity_id: counter.feeds
  221. hold_action:
  222. action: more-info
  223. icon_tap_action:
  224. action: perform-action
  225. perform_action: counter.increment
  226. target:
  227. entity_id: counter.feeds
  228. state_content: last_changed
  229. name: Last Feed
  230. visibility:
  231. - condition: state
  232. entity: timer.feeds
  233. state: idle
  234. - type: tile
  235. entity: counter.poops
  236. color: brown
  237. tap_action:
  238. action: perform-action
  239. perform_action: counter.increment
  240. target:
  241. entity_id: counter.poops
  242. icon_tap_action:
  243. action: perform-action
  244. perform_action: counter.increment
  245. target:
  246. entity_id: counter.poops
  247. hold_action:
  248. action: more-info
  249. state_content: last_changed
  250. name: Last Poop
  251. - type: tile
  252. entity: counter.pees
  253. tap_action:
  254. action: perform-action
  255. perform_action: counter.increment
  256. target:
  257. entity_id: counter.pees
  258. color: yellow
  259. icon_tap_action:
  260. action: perform-action
  261. perform_action: counter.increment
  262. target:
  263. entity_id: counter.pees
  264. hold_action:
  265. action: more-info
  266. state_content: last_changed
  267. name: Last Pee
  268. - type: tile
  269. entity: counter.pukes
  270. tap_action:
  271. action: perform-action
  272. perform_action: counter.increment
  273. target:
  274. entity_id: counter.pukes
  275. icon_tap_action:
  276. action: perform-action
  277. perform_action: counter.increment
  278. target:
  279. entity_id: counter.pukes
  280. color: green
  281. hold_action:
  282. action: more-info
  283. state_content: last_changed
  284. name: Last Puke
  285. - type: tile
  286. entity: input_button.emmett_vitamin_k
  287. hide_state: false
  288. state_content: last_changed
  289. tap_action:
  290. action: toggle
  291. name: Last Vitamin D
  292. icon: mdi:eyedropper
  293. color: deep-purple
  294. - square: false
  295. type: grid
  296. cards:
  297. - type: custom:timer-bar-card
  298. entity: timer.feeds
  299. name: Next Feed
  300. bar_width: 50%
  301. mushroom:
  302. layout: horizontal
  303. color: white
  304. visibility:
  305. - condition: state
  306. entity: timer.feeds
  307. state: active
  308. tap_action:
  309. action: perform-action
  310. text: Are you sure?
  311. confirmation: true
  312. perform_action: counter.increment
  313. target:
  314. entity_id: counter.feeds
  315. modifications:
  316. - elapsed: 1%
  317. bar_foreground: green
  318. - elapsed: 25%
  319. bar_foreground: yellow
  320. - elapsed: 50%
  321. bar_foreground: orange
  322. - elapsed: 75%
  323. bar_foreground: red
  324. columns: 1
  325. - type: history-graph
  326. entities:
  327. - entity: counter.feeds
  328. - entity: counter.pees
  329. - entity: counter.poops
  330. - entity: counter.pukes
  331. - entity: counter.pumps
  332. min_y_axis: 0
  333. fit_y_data: true
  334. logarithmic_scale: false
  335. hours_to_show: 8
  336.  
Advertisement
Add Comment
Please, Sign In to add comment