The Blueprint doesnt work for me either, nothing happens even if I try to trigger it manually from the Automation. The log gives an error with the Trigger:
Logger: homeassistant.components.automation.test_notification_to_close_a_window
Source: components/automation/init.py:416
Integration: Automation (documentation, issues)
First occurred: 10:36:19 AM (1 occurrences)
Last logged: 10:36:19 AM
Error while executing automation automation.test_notification_to_close_a_window: Error rendering message: UndefinedError: ‘trigger’ is undefined
nice Blueprint!!!
is it possible to push a service instead of notifications? i want to send a tts to my Alexa and not to my phones.
also a rain sensor to add would be nice
@roozbeh : Sorry for the maybe stupid question but how to import this blueprint to my Home Assistant? I see an “Import Blueprint button” on other Blueprints. Without the button I am somehow lost. Maybe someone can help. THX
Phillip
@phillipthaler there is a link to github in the author’s post, pointing to a yaml file. In home assistant you click “Import Blueprint” button (in blueprints, right down) and paste the link to the yaml file.
Any suggestions on this error? when i run the automation
Error: Error rendering message: UndefinedError: ‘dict object’ has no attribute ‘to_state’
in the step config is shows this
device_id: ab99d187465472f74f75608935b9657d
domain: mobile_app
type: notify
message: Time to close {{trigger.to_state.attributes.friendly_name}}.
title: Close {{trigger.to_state.attributes.friendly_name}}!
I have made a extended version of your version with custom sensor.
It sends three notifications to an Amazon Echo device to close a window or door after opening it, if the humidity reading (indoor) and temperature reading (outdoor) of the given sensors are below a certain level. For this blueprint you need a a working Alexa Media Player Integration, and a humidity sensor that updates its data in short intervalls. Most likely it needs a wired power connection for this. A working configuration is the SONOFF TH Sensor Si7021 connected to a Sonoff TH10.
Updates:
04.01.2022: You now can now adjust the volume of the message and the volume used by the Echo device afterwards.
The versions with custom temperature sensor (the original one as well as mine above) aren’t working for me since last week. I found out, that the blueprint only works as long as the temperature is not below 0° Celsius. Does anybody know how to change the script to work with temperatures values like “-3” too?
I have to correct myself. Everything works again although the temperatures are still below 0° Celsius. Maybe my testing with different thermostats somehow solved the problem.
I don’t know why but the script suddenly is working again, although the temperatures are still below 0° Celsius.
Hi, I am using this blueprint for a while already, and it works perfect. Thank you.
Instead of having this send to a mobile app i would like to have it send to a telegram bot.
Would this be possible to do?
Hi,
is it possible to set the device selector (device_identifier) to “multiple: true”?
I’ve tried this in blueprint, but I don’t know how to modity the action script to work with a list of Devices (I’m a HASS beginner )
Has anybody already tried it?