Commit 89087c7
fix(clg-collection): propagate onoff to member CLG devices
onFlowTurnOnAllMembers/OffAllMembers on a Collection used to call the
same method on each member CLG, which only toggles the underlying
lamps and leaves the member's own onoff capability untouched. Toggling
the Collection tile (which fires onFlowTurnOnAllMembers via the
inherited onoff listener) therefore left the member tiles in their
previous state. Call onFlowTurnOn/Off on each member instead so the
member's capability flips and its lamps follow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ef8709f commit 89087c7
2 files changed
Lines changed: 9 additions & 4 deletions
File tree
- no.tiwas.booleantoolbox
- drivers/circadian-light-group-collection
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
88 | 91 | | |
89 | 92 | | |
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
166 | 168 | | |
167 | | - | |
168 | | - | |
| 169 | + | |
| 170 | + | |
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
174 | | - | |
175 | | - | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
0 commit comments