Hi Frank, I implemented this blueprint but when I run it, i never receive notification. Currently i am working with an automation I did myself to notify Fire alert on my phone but i would prefer to have a blueprint for that. see below the trace:
Triggered manually at February 22, 2023 at 10:38:30 AM
Notifications: Send a notification with notify
Stopped because an error was encountered at February 22, 2023 at 10:38:30 AM (runtime: 0.04 seconds)
Error rendering data template: UndefinedError: ‘dict object’ has no attribute ‘to_state’
Hi, sorry for the late response. Unfortunately, there is little I can do from a distance. Did you actually activated the smoke alarm? - e.g. with test spray? or changed the sensor status? The error message indicates that the sensor has not reported a new status – that means “to_state”. If you trigger the automation manually, I would expect such an error.
Add: You could proceed as follows for troubleshooting: In Home Assistant, under Developer Tools, go to Events. “Subscribe” to the “status change” event. Then trigger the smoke detector (with Test Spray) and track the status change. What do the messages look like?