How to trigger on attribute change?

image

Even considering a display bug, rain_sensor definitely doesn’t sound like an array…

1 Like

Klogg actually showed the attributes in one of the posts above. If that is accurate (and I have no reason to think that is isn’t) then it’s not array but just a dictionary. If so then there is no reason to use [0].

1 Like

umm…ok. I didn’t think I replied to you. If you thought so then I apologize.

Yes. All above is correct … just like others I did not have the exact sensor to test and used one from my Roborock that looked similar. I had to use:

{{ state_attr('camera.roborock_s7_map','no_go_areas')[0].x0}}

From:

image

SO I was getting the first area’s x0 … didn’t look your image to see it was a list. And please note I said “My pure guess”

1 Like

No sorry not private at all.

Just me being confused I guess. :crazy_face:

:grinning_face_with_smiling_eyes:

1 Like