mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829)
* Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mherbst.de>
This commit is contained in:
parent
793dbf3df5
commit
82dba8d400
@ -96,7 +96,8 @@ public class LightThingHandler extends DeconzBaseThingHandler {
|
||||
*/
|
||||
private LightState lightStateCache = new LightState();
|
||||
private LightState lastCommand = new LightState();
|
||||
private int onTime = 0; // in 0.1s
|
||||
@Nullable
|
||||
private Integer onTime = null; // in 0.1s
|
||||
private String colorMode = "";
|
||||
|
||||
// set defaults, we can override them later if we receive better values
|
||||
|
Loading…
Reference in New Issue
Block a user