[hue] Fixed configuration update for parameter 'ledindication' (#9685)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
parent
359c5129e4
commit
ceb119b02c
@ -99,7 +99,7 @@ public class PresenceHandler 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_PRESENCE_SENSITIVITY)) {
|
||||
config.put(CONFIG_PRESENCE_SENSITIVITY, sensor.getConfig().get(CONFIG_PRESENCE_SENSITIVITY));
|
||||
|
Loading…
x
Reference in New Issue
Block a user