Hi,
the Hue documentation says that we can use fadingLightCommand via getActions() on hue Things but I can’t seem to get this working for me. I’m getting the following error:
[ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Ambilight Movie Mode': 'fadingLightCommand' is not a member of 'org.eclipse.smarthome.core.thing.binding.ThingActions'; line 95, column 13, length 83
This is my rule:
rule "Ambilight Movie Mode"
when
Item Living_LibreNucControl changed
then
val hueActions = getActions("hue","hue:0210:1:o_color_strip1")
if(Living_Ambilight_MovieMode.state == ON && Living_Ambilight_L01.state == ON)
{
if(Living_LibreNucControl.state == PLAY)
{
logInfo(filename, "MOVIEMODE: PLAY, DIM LIGHT")
hueActions.fadingLightCommand("color", new PercentType(10), new DecimalType(3000))
}
else
{
logInfo(filename, "MOVIEMODE: NO PLAY, MAX LIGHT")
hueActions.fadingLightCommand("color", new PercentType(100), new DecimalType(3000))
}
}
end