mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
refactor: Align Phillips Hue to reworked device handling (#712)
* Align PhilipsHue (Classic) * Minor Device corrections * Have code working with Qt < 5.10 * Fixes on Hue Wizzard * Fixes on Hue Wizzard * Calculate Latchtime only for lights updated by hyperion * Allow to disable restoring original light's state * Fix - LightIDs / LightMap vectors were not cleared when reopening the device * Reduce API Calls for state updates by consolidation
This commit is contained in:
@@ -231,6 +231,12 @@ void LedDevice::setLedCount(unsigned int ledCount)
|
||||
_ledRGBWCount = _ledCount * sizeof(ColorRgbw);
|
||||
}
|
||||
|
||||
void LedDevice::setLatchTime( int latchTime_ms )
|
||||
{
|
||||
_latchTime_ms = latchTime_ms;
|
||||
Debug(_log, "LatchTime updated to %dms", this->getLatchTime());
|
||||
}
|
||||
|
||||
int LedDevice::rewriteLeds()
|
||||
{
|
||||
int retval = -1;
|
||||
|
Reference in New Issue
Block a user