Skip to content

Commit

Permalink
[hue] Fixed configuration update for parameter 'ledindication' (openh…
Browse files Browse the repository at this point in the history
…ab#9685)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
  • Loading branch information
cweitkamp authored and thinkingstone committed Nov 7, 2021
1 parent d89a227 commit 787f4cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected void doSensorStateChanged(FullSensor sensor, Configuration config) {
}

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));
Expand Down

0 comments on commit 787f4cf

Please sign in to comment.