Added numeric state to start and end triggers. You can now select above and below values. Example: You could have a temperature sensor in your bedroom and when the temperature rises above your set value it will send you a message. You then can have 3 action buttons + cancel button to:
Close the blinds.
Turn The Fan ON
Close the blinds and turn the fan ON
Cancel do nothing
Added time delay to start and end triggers. The state trigger will only fire if the state holds for the set time delay. This helps to stop false triggers. Example: If you are using āunavailableā state sometime it can be āunavailableā for a few seconds to a few minutes and then go back online, or the temp in you bedroom must be above your set value for the time delay before the automation will fire.
Global conditions. You can now enter any global condition you would like to apply to the automation. Example; You could have motion sensors in your home. Then you could set a condition to only run when no one is home. If you detect motion it will send you a message. You then could have action buttons to
āSound The Alarmā an play a voice recording āthe Police have been called and are on their wayā.
āSound The Alarmā and turn the lights ON (using by-pass of my sensor light blueprint).
āSound The Alarmā, turn on sensor light by-pass āAlarmā and strobe the lights for 10 minutes.
āCancel do nothingā
Or you could have an Office with motion sensors & CCTV. You could set a time condition to only run out of hours. If motion is detected it can send you a message with 3 action buttons + cancel button to what you like.
There a lot things this blueprint can now do. Hope you find it useful
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
One minor bug in this that should be pretty easy to fix in the next release - when you create a blank automation using this Blueprint, the field for Start Trigger - Numeric State Above Option is instead of 0 like the other triggers. This causes an error when you try to save the automation unless you manually put a 0 (or other value) into the box. All the other boxes populate with a 0 value so if they are unused, the automation will save. Not a major issue, but definitely confused me for a bit when I wasnāt using those fields.
My notifications are a quick basic way. There are other blueprints that dig deeper into notifications. Must say I havenāt looked at it just because I dont need that blueprint but I know it is very active and the developer @SgtBatten supports it well so if that suits you better maybe try using it and ask the developer of that blueprint.
If you would like more complex way in your notifications I have seen @samuelthng blueprint. It creates a script with heaps of options you can have in a realy nice layed out way. Once you create a script with this blueprint you can use it in this blueprint in the custom action. In your action select call service / scripts: Turn on and select your script. That just may help you do what your looking for. Link to it is below.
Fixed a bug in āStart Trigger - Numeric State Above Optionā where a defaul value was not set preventing you from saving the blueprint if nothing was selected. Thanks @jsp196 for giving us the heads up.
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Question now that Iām going to use this for more things - I currently run HASS.Agent on a desktop computer. I can call the notify.computername service using the same format as the iOS app. It also supports actionable notifications. But this device does not show up in the picker of this blueprint for Start Notify - Devices To Notify. Is there a way to allow all notify-capable devices to work? I could see an instance where I would want my Alexa to say something or another device to receive the notification. Currently it only lists devices that are included in the Mobile App integration. Thanks!
I havenāt tested it but you could try to copy tour entity of the device you would like to otify then enter in mobile phone / then edit the automation in YAML (top right 3 dots) / the paste your entity replacing the mobile phone and save. Your device should be there.
One thing I think is missing is the ability to set the notification persistent and be able to dismiss from an action button.
I have this template binary_sensor that goes ON on specific trigger and can be reset from the press of an input_button. If I could present a persistent notification on my mobile device while binary sensor is in ON state and add an action to press the input_button (which subsequently sets back the binary_sensor to OFF), it would be perfect for my use case.
Error in āState Notifications & Actionsā trigger: In ānumeric_stateā condition: entity switch.lazienka_switch state āonā cannot be processed as a number
Yes now it works very well :).
Sorry, but I have one more question (IĀ“m a Beginner in HA). Now I want to use the Bypass Option the first time in another automation.
How do I set this up with a stateless switch as hue Dimmer switch?
I want a Hue Dimmer switch to bypass the Motion Sensor to keep the lights on.
You will have to create a toggle helperā¦ go to settings / devices and services / helpers tab / create helper and select toggleā¦ etc. Then use this blueprint Press Button - Turn ON & OFF Entities to help you toggle the helper ON and OFF with your stateless switch. Then use the toggle helper as the entity for the by-pass.