question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Specify an array of elements to change the state on for a given entity

See original GitHub issue

Is 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:closed
  • Created 3 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
vajonamcommented, Jan 26, 2021

For completeness 098f8a643e06f4f103f5774b09bdc9988271a516 fixes this.

0reactions
exeticocommented, Jan 29, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found