#finity69x2 NWS Alerts
1 messages · Page 1 of 1 (latest)
we are expecting severe weather this evening and was hoping to get the automation working 🤷♂️
What's the full automation?
I'm using finity69x2 package here
https://github.com/finity69x2/nws_alerts/blob/master/packages/nws_alerts_package_integration_version_6_and_later.yaml
@molten bronze of course I changed the media devices to my devices.
If you're just testing the automation, know that you cannot "run" it to test as there will be no valid trigger.
we got a trigger just before I asked the question for a thunderstorm watch
and just got one now for thunderstorm warning. Automation didn't trigger
😡
@molten bronze trace gives me the following
Executed: March 14, 2025 at 2:47:51 PM
Error: UndefinedError: 'dict object' has no attribute 'to_state'
dang it
Can you share the full trace?
@molten bronze I get the following when running the script part of it
What does that have to do with the to_state attribute?
@molten bronze here is the automation piece. I'm just trying to show you what I have
@molten bronze this is what I get when I click on trace
Is that from you manually doing "Run Actions"?
What does "Trace Timeline" tab say?
@molten bronze yes manually run
@molten bronze running the script portion works. Just need to figure out what the heck is going on with this 'dict object' has no attribute 'to_state'.
grrrrrr
I said earlier: You can't run it manually.
If you're just testing the automation, know that you cannot "run" it to test as there will be no valid trigger.
Anytime you use trigger.to_state it must have been triggered by a state trigger
When you manually run it, trigger variable is empty.
@molten bronze I understand. We'll probably have some additional alerts later this evening. Maybe it will work. Thanks for you help.