mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 00:20:26 +00:00
Continuation of refactoring hueMulator
This commit is contained in:
@@ -100,4 +100,8 @@ public class BrightnessDecode {
|
||||
return request;
|
||||
}
|
||||
|
||||
// Helper Method
|
||||
public static String calculateReplaceIntensityValue(String request, DeviceState state, StateChangeBody theChanges, boolean hasBri, boolean hasBriInc, boolean isHex) {
|
||||
return replaceIntensityValue(request, calculateIntensity(state, theChanges, hasBri, hasBriInc), isHex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user