Iāve had to use it twice just to get it to send notifications to two different devices due to not being able to select a notify group, but apart from that itās pretty good. Thanks!
I hope this isnāt too dumb of a question, but I havenāt used helpers before. How do I use the input_boolean.turn_on to know when the garage door is open to trigger this?
WOW! So useful thanks!!!
You will have to use some other hardware to detect the status of the garage door. A read switch is common, I like āAqaraā door sensors for door statusā because theyāre cheap and integrate easily with HAā¦ but I donāt use it for my garage door only because I had a previous device installed.
Iāve duplicated this blueprint locally so I can use it with my vacuum.
I have changed this:
trigger:
platform: state
entity_id: !input trigger_entity
from: "off"
to: "on"
to this:
trigger:
platform: state
entity_id: !input 'trigger_entity'
to: 'cleaning'
But it doesnāt do anything. What am I doing wrong?
Thanks in advance
Havenāt tested this myself, but you could try removing the quotes around ātrigger_entityā? Leave the ones around ācleaningā though.
I think trigger_entity is a defined name in that blueprint so wouldnāt need any quotes around it.
I was to try this change, but I have detected the problem: I wrote vacum instead on vacuum when configuring the automation.
Thanks for your comment.
I already do have sensors which detect the status, Iām just not sure how to use the āHelperā in this blueprint to detect it. Iāve got a myQ so cover.garage_door detects it, but I donāt know how to use the input_boolean helper to detect that I guess.
Like @ganastor, Iām wondering how to make the input_boolean give the information I want. For example, if I want to trigger it when sensor.front_door is open, do I create a helper called āinput_boolean.front_door_openā or something like that? Right now āinput_boolean.input_booleanā is the name of the helper, and I canāt figure out how to use it in an automation.
Also, how would I add a condition to an automation with this blueprint? For example, I want to receive a notification if itās after 23:00 and before 06:00 and the alarm is disarmed. The notification would allow me to Arm Home, Arm Away, or Open the alarm app. I know how to configure the actions for this automation, I just donāt know how to detect the condition properly.
Fantastic idea but I would like to use my working automation how I can edit it? Boolean shows me nothing in this blueprint.
Oh! Iām sorry. The way I use this blueprint is I have the blue print setup to do what I want. Basically just create any input_boolean and in the blueprint select whatever one you created. Continue on and setup the blueprint however you like, to do what ever action you want. THEN create a NEW automation with a trigger of whatever you need (like your sensor being activated), then the ACTION is to turn on the input_boolean that you created. Then whenever your sensor is TRIGGERED, it will cause the input_boolean.turn_on action. When this input_boolean is triggered, it will fire your other Actionable notification. So your using 2 different automations basically one for your blue print, then another one to fire the notification.
Sorry if iām not explaining it very well. My case I have a washing machine that I want to notify me when it completes, but Iād like an option to receive a reminder in 5 minutes or stop the notifications. I have a smart plug monitoring the power usage of my washer so that when the power goes below a certain level, it triggers an automation. The action from this trigger is my input_boolean. Then I use this blueprint with the same input_boolean. So when my washing machine automation fires, it simply fires this actionable notification. Think of the input_boolean as your trigger, but your putting it as an action for another automation.
Thanks, I think Iāve almost got it. So in my example, I create an automation that says if sensor.alarm=disarmed and time is between 2300 and 0600, set input_boolean.alarm_not_set to ON. Then I use your blueprint to create another automation that says if input_boolean.alarm_not_set is ON, then perform the notification actions. Does that sound about right? Thanks again for this blueprint @vorion ; I think Iām going to find numerous uses for it once I get a handle on how to employ it correctly.
EDIT: Thatās exactly what I needed to do. Although Iām thinking Iāll refine it, I created an action with a trigger of 23:00. If the alarm control panel is disarmed, it calls service input_boolean.turn_on for input_boolean.alarm_not_set_at_night.
Then the second automation uses your blueprint. When alarm_not_set_at_night is set to on, I receive a notification āThe Alarm is not set.ā The choices are Arm Home, Arm Away, and Open Simplisafe.
I tested by turning off the alarm and then firing the 1st automation. Immediately I saw the second automation was triggered as well, and in a few seconds I received the notification. I tested opening the app and setting to home; both worked fine although Arming Home didnāt work on the first try. Iām chalking that up to the remote connection from my phone far away to home. In any event, if I select arm home and I donāt see it arm quickly, I can then open Simplisafe and arm it from there. FYI, the input boolean turns itself off after the trigger. No need to manually turn it back off. Itās sitting there ready to check again at 23:00 tomorrow.
Thanks again for the blueprint and for the explanation by @kodeypatterson !
Thanks a ton for explaining! I havenāt been able to find a lot of good documentation on the helpers, and the youtube videos I watched all use node red, so I was a little unsure how to use them. Your explanation helped a ton, so tyty!
Is there a way to make a script an actionable notification. I tried some time ago but wasnāt able to.
Is it possible to send a notification after certain conditions are met?
(eg send a notification of a sensor triggered only if alarm is armed)
Wonderful blueprint!
I wonder if this could be extended to choose the possibility to remove the notification automatically when the binary sensor comes back to off position.
For instance, I would use this automation to notify me that my garage door is open so that I can run the action to close it. But if it is closed manually it would be wonderful to get the notification removed from my phone automatically.
Thanks!
Iām pretty sure, that your blueprint is messing with my input_boolean
.
Iāve attached my existing input_boolean
(which sets from 0 to 1 when I got home). This blueprint resets it to 0 again immediately
Did you find a way around this? For now Iām just creating two automations, one for each phone.
Iām having the same issue with my setup.
Turning off the input_boolean
is in the automation, lines 120 and 121:
- service: input_boolean.turn_off
entity_id: !input 'trigger_entity'
You might try commenting out those lines or deleting them and see if the automation still works for you. I havenāt tried it myself because Iām using a boolean that I want turned off.