-
I have a sensor that needs to trigger multiple elements. So back_doors needs to trigger the state of 2 elements. I see that this is valid in the config.
however when I run this it complains and about no element called |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @vajonam So you need two elements (within your SVG) to be triggered, by a single I'm not sure if that's supported/implemented. But, it would make sense to implement for sure. I can see a good point of going so, in multiple scenarios. If that's the point of this thread, fell free to create a feature-request 👍 ! |
Beta Was this translation helpful? Give feedback.
-
@vajonam Can you try something like this?
The floorplan.class_set service allows you to specify multiple SVG elements. |
Beta Was this translation helpful? Give feedback.
-
if I set
but because there is no element entity it complains about
but If I set the element on the top level it works as expected, seems a bit odd, but I can see how the code checks for the element first in the svg even its is overridden by the service_data.
|
Beta Was this translation helpful? Give feedback.
Hi @vajonam
So you need two elements (within your SVG) to be triggered, by a single
state
based of a Home Assistant entity, right?I'm not sure if that's supported/implemented. But, it would make sense to implement for sure. I can see a good point of going so, in multiple scenarios.
If that's the point of this thread, fell free to create a feature-request 👍 !