I’m trying to power this lamp on using examples of syntax from the community but not having any success. I don’t want to change the Hue and Saturation, just the brightness which is used to turn the lamp on with my Astro binding. These don’t have a power channel to switch like most other devices.
val HSBType MyColor = HSBType(new DecimalType(0),new PercentType(0),new PercentType(100))
Bedstandlamp.sendCommand(MyColor);
Gives me:
The method HSBType(DecimalType, PercentType, PercentType) is undefined; line 1, column 22, length 7
What would be the correct syntax to just power one of these on?
You know you can send a single decimal as a command to Color type Item, just like Dimmer type? Any given binding may or may not implement such commands, but if it is actioned it would be expected to control device brightness only.