[hue] Fixed setting wrong values for ledindocation configuration (#12182)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
parent
5b1627c426
commit
ca73548af2
|
@ -90,7 +90,7 @@ public class LightLevelHandler extends HueSensorHandler {
|
|||
}
|
||||
|
||||
if (sensor.getConfig().containsKey(CONFIG_LED_INDICATION)) {
|
||||
config.put(CONFIG_LED_INDICATION, sensor.getConfig().get(CONFIG_LIGHT_LEVEL_THRESHOLD_DARK));
|
||||
config.put(CONFIG_LED_INDICATION, sensor.getConfig().get(CONFIG_LED_INDICATION));
|
||||
}
|
||||
if (sensor.getConfig().containsKey(CONFIG_LIGHT_LEVEL_THRESHOLD_DARK)) {
|
||||
config.put(CONFIG_LIGHT_LEVEL_THRESHOLD_DARK, sensor.getConfig().get(CONFIG_LIGHT_LEVEL_THRESHOLD_DARK));
|
||||
|
|
|
@ -63,7 +63,7 @@ public class TemperatureHandler extends HueSensorHandler {
|
|||
}
|
||||
|
||||
if (sensor.getConfig().containsKey(CONFIG_LED_INDICATION)) {
|
||||
config.put(CONFIG_LED_INDICATION, sensor.getConfig().get(CONFIG_LIGHT_LEVEL_THRESHOLD_DARK));
|
||||
config.put(CONFIG_LED_INDICATION, sensor.getConfig().get(CONFIG_LED_INDICATION));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue