]> git.basschouten.com Git - openhab-addons.git/commit
[WLED] Fix Nightlight sleep timer to use default (#11389)
authorsvjense <55270074+svjense@users.noreply.github.com>
Mon, 18 Oct 2021 18:45:22 +0000 (05:45 +1100)
committerGitHub <noreply@github.com>
Mon, 18 Oct 2021 18:45:22 +0000 (20:45 +0200)
commitb8b22555ff463a81de1495c72bcc2a4f6271276f
treebf767c4c42bcc60ed26f9d3d37ee62185cd95862
parent81e201d163c2c1ebd95588938af9d07c63a8e8a0
[WLED] Fix Nightlight sleep timer to use default (#11389)

Based on WLED API (https://kno.wled.ge/interfaces/http-api/) current handler uses NL=1 so sleep timer is hard coded to 1 minute. Should be default (ND) to use configured time in WLED.

Fixes #11389

Signed-off-by: Sven Jensen <github@s7j.de>
Co-authored-by: Sven Jensen <github@s7j.de>
bundles/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java