[hue] Fixed configuration update for parameter 'ledindication' ()

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
Christoph Weitkamp 2021-01-04 18:15:44 +01:00 committed by GitHub
parent 359c5129e4
commit ceb119b02c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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));