mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
FIX: [hue] XY == 0 => bri = 0 (#1124)
This commit is contained in:
parent
9e281b2347
commit
f843b5a046
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Updated dependency rpi_ws281x to latest upstream
|
||||
|
||||
### Fixed
|
||||
- LED-Hue: Proper black in Entertainement mode if min brightness is set
|
||||
|
||||
### Removed
|
||||
|
||||
|
@ -1235,7 +1235,7 @@ QByteArray LedDevicePhilipsHue::prepareStreamData() const
|
||||
CiColor lightC = light.getColor();
|
||||
quint64 R = lightC.x * 0xffff;
|
||||
quint64 G = lightC.y * 0xffff;
|
||||
quint64 B = lightC.bri * 0xffff;
|
||||
quint64 B = (lightC.x || lightC.y) ? lightC.bri * 0xffff : 0;
|
||||
unsigned int id = light.getId();
|
||||
const uint8_t payload[] = {
|
||||
0x00, 0x00, static_cast<uint8_t>(id),
|
||||
|
Loading…
Reference in New Issue
Block a user