Closed daredoes closed 3 years ago
Ah, I see from the failing tests that there's some built-in class logic to address.
I tested this by editing the distributed JS file, which I can confirm does make a difference.
I'll try to update the base class for this PR soon
This PR should be good for review now!
Can you please open a new issue that describes the problem you were fixing with this PR? Then I will have a historical record to tie this pull request to and something to reference in the changelog.
Left an issue with some basic details since it links back to this PR!
Fixes #72
This pull request will use an undocumented aspect of the JSON API, that can be seen when observing the network requests from the built-in UI, to update all segments, rather than the first segment.
It turns out, when
seg
receives an object without an ID instead of an array it applies to all segments for the light.Tested locally.
Related to #61 but not a perfect solution