Specify an array of elements to change the state on for a given entity
See original GitHub issueIs your feature request related to a problem? Please describe. The ability to sent multiple elements based on one sensor in home assistant, for example I have two door contact sensors in series, and would like to set the state of each of doors to open when sensor is in the open state
Describe the solution you’d like something like
- entity: binary_sensor.door
elements:
- svg.element1
- svg.element2
Describe alternatives you’ve considered Currently I have two rules, which isn’t the end of the world, but will be nice to target multiple svg elements.
Illustrations and examples see above
Additional context https://github.com/ExperienceLovelace/ha-floorplan/discussions/27#discussioncomment-304358
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top Results From Across the Web
How can I update state.item[1] in state using setState?
N.B. we *are* mutating the array here, // but that's why we made a copy first items[1] = item; // 5. Set the...
Read more >Array.SetValue Method (System) - Microsoft Learn
Sets a value to the element at the specified position in the multidimensional Array. The indexes are specified as an array of 32-bit...
Read more >MATLAB ismember - MathWorks
This MATLAB function returns an array containing logical 1 (true) where the data in A is found in B.
Read more >Angular NgRx Entity - Complete Practical Guide
An in-depth guide to NgRx Entity: learn when to use and why, what problems does it solve, learn its API via a detailed...
Read more >Work with arrays in Google Standard SQL | Cloud Spanner
Converting elements in an array to rows in a table. To convert an ARRAY into a set of rows, also known as "flattening,"...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For completeness 098f8a643e06f4f103f5774b09bdc9988271a516 fixes this.
Thanks, all 😃
https://github.com/ExperienceLovelace/ha-floorplan/releases/tag/1.0.12
Let’s close this one.