Commit a928c4a
committed
[shelly] Fix Pro RGBWW PM colorFull White option turning the light off
The rgb:0 component has no white parameter, so selecting "white" on the
colorFull channel sent rgb=0,0,0 with a dropped white value, switching
the light off instead of producing white. Mix full RGB (255,255,255)
instead for this component, and recognize that combination when
reporting the current colorFull state back.
Signed-off-by: Markus Michels <markus7017@gmail.com>1 parent 7ef3347 commit a928c4a
2 files changed
Lines changed: 10 additions & 3 deletions
File tree
- bundles/org.openhab.binding.shelly
- src/main/java/org/openhab/binding/shelly/internal/handler
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1755 | 1755 | | |
1756 | 1756 | | |
1757 | 1757 | | |
1758 | | - | |
1759 | | - | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
1760 | 1761 | | |
1761 | 1762 | | |
1762 | 1763 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
308 | 312 | | |
309 | 313 | | |
310 | 314 | | |
| |||
474 | 478 | | |
475 | 479 | | |
476 | 480 | | |
| 481 | + | |
| 482 | + | |
477 | 483 | | |
478 | 484 | | |
479 | 485 | | |
| |||
0 commit comments