No the odd thing is, the message section comes through ok, the attribute is resolved correctly and I get the camera info.
Also, If I change the attribute info in the url to a static eventID I get the picture through with the message.
Also, also, in the developer template if I copy my url there with the sensor attribute in, it resolves correctly and give me the correct url which when I visit, gives me the camera image.
So a lot of things are working as they should be, but I get no image when I have the sensor attribute to resolve the eventID in the url. I don’t get any errors in the logs either.
Anyone done something similar and worked around this?
ah, sorry. I should have been clearer, here’s my full yaml, I was already using data_template:
Seems fine in the developer window, just not in practise;
Yes that’s right, HA official app on a Huawei p20 pro.
Swapping that sensor attribute in the URL for a static value works great for the image.
The message always works with the attribute though
This had really got me stuck, just couldn’t figure out why it wasn’t working.
But, I was editing the YAML in the UI and it all looked fine but when I checked the automations.yaml file it actually wasn’t saving any of my changes!
Used a text editor to make the changes and it worked straight away.