#Automation for when getting text message from phone
1 messages · Page 1 of 1 (latest)
As promised, this is my trigger for the Uber Eats delivery:
trigger: template
value_template: >-
{{
(state_attr('sensor.xq_at52_last_notification', 'package') ==
"com.ubercab.eats")
and
(state_attr('sensor.xq_at52_last_notification', 'android.title') is
search("Faster delivery dropoffs", ignorecase=true))
}}
I assume you're working through this list:
Im going to base off of that and hope thay works. Thank you!
I'm still losing my mind. My text message alert isn't working.
Paste your code? Also a screenshot of the "logbook" view of the "last notification" sensor:
That's what I been going off of. THe only thing I"m noticing is weird output when checking Developers Tool. Like it's not just "Name" it has something next to both sides. This is my code
I intenionally gave this one with blank state.
The reason I show this is because if I add Dan Clark.
It doesn't do anything despite I got a text message from Dan........it fails. I check the log and it shows Dan Clark. I was frantically losing my mind and I notice when I copy the whole attributes it had this weird..........thing
This is what it looks like when I copy the entire attributes and that keeps looking at EVEN other area that have the same thing. I'm not even sure what else to do man.
THanks for the help. I gave up. I think it's the HA's sensor that isn't translating correct.
I expect the search() I used for substring matching insulated me from any of that
Yea. I can't translate the concept you have and into automation.
Sorry, I just realised I never pasted the entire thing
Template trigger, which avoids the need to use the condition block because it's a logical AND of two things
ohhhhhhhhhhh!!! that make so much sense!