I updated the blueprint to fix duplicate notification
Button added to add the blueprint directly from my github repo
Merci beaucoup, moi qui prends beaucoup de medoc et ton blueprints est bien pratique. Thank you very much, I take a lot of medoc and your blueprints are very practical
Hi! I love what you did. Thank you!
But I would need help to make it like the image you uploaded. how do you make the card?
views:
- title: MĂ©dicaments
path: medicaments
icon: mdi:pill
badges: []
cards:
- type: entities
entities:
- entity: automation.sante_rappel_prise_de_medicament_midi
icon: hass:head
name: Rappel midi
- entity: input_datetime.sante_rappel_prise_de_medicament_midi
name: Heure rappel midi
- entity: automation.sante_rappel_prise_de_medicament_soir
icon: hass:head
name: Rappel soir
- entity: input_datetime.sante_rappel_prise_de_medicament_soir
name: Heure rappel soir
title: Prise de médicament
- type: logbook
entities:
- input_boolean.sante_medicaments
hours_to_show: 2400
title: Historique
Thanks for your help just one more thing, I got the chart and wanted to do the top part.
I know itâs an âinput_datetimeâ but how can I integrate it into the automation you created?
In the reminder_time
input, you can put a input_datetime
entity, see here : Input Datetime - Home Assistant
I canât do that on blueprint. On blueprint I can only enter time.
Where in blueprint I can put input_datetime
entity?
oh yes, I donât know if I can do anything to allow you to use an inout_datetime
from UI
otherwise, you can edit the automations.yaml
file and replace the time by the input_datetime
entity.
exemple of my blueprint yaml use:
- id: medication_reminder_midi
alias: Santé - Rappel prise de médicament midi
use_blueprint:
path: medication_reminder.yaml
input:
reminder_time: input_datetime.sante_rappel_prise_de_medicament_midi
notify_device: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
input_boolean: input_boolean.sante_medicaments
optional_action:
- service: script.notify_enceintes
data:
message: "Rappel de prise de médicaments pour
I manualy edit automations.yaml and is working now, thanks.
It will bi nice to have an option in blueprint set input_datetime
entity instead time in future releases:)
Now I have another question when I get notify on my phone I don thave options taken, ask later, and skip
. And I have no hystory.
I have enabled mobile_app
in my HA, and HA app instaled on my phone.
I must configure something else?
Long-press is working on iphone. Thanks:)
@ Mati24
This is great! However, it still notifies if the status is checked at the time of the alert. Can this be fixed?
What do you mean by âstatusâ ?
Thanks for this blueprintâŠitâs a huge help for me.
I have one challenge and Iâm not sure itâs the Blueprintâs fault. Iâm guessing itâs a HA problem. But here it goes.
I get a reminder at 8am and I hear my iphone buz. I pick it up and see the medication reminder but canât act on it. I then wake up my watch and donât get the notification because itâs already been seen.
I think if I didnât pick up my iphone, in a few seconds the notification would show up on my watch.
Ideas?
No sorry I donât use iOS so I canât test on my side
But I use the standard notification method, so you can ask in a dedicated thread if you want. Otherwise if you find a blueprint where it works well, tell me, I will check it
Sorry, I meant âstateâ. When the state of the input_boolean is on before the notification time, the notification still happens. I would make the notification contingent on the input_boolean being off.
Thank you. I came here to comment on this exact problem. I see the notification on my phone and couldnât act. If for some reason I caught the alert on my watchâŠall was good.
Figured it out. Long press on the IOS notification will get you options to respond.
Thank you for the blueprint. I like it. I wish it allowed me the following options though:
- If a light is being turned on, be able to set it to flashing.
- Upon taking the medication, perform another action (so I can turn the light off)