I am not able to change a group of Hue Lights with an rule in OH2. I tried the following:
rule "Hue Color Schlafzimmer"
Item Licht_Farbe_SZ received command
var hsbValue = Licht_Farbe_SZ.state as HSBType
sendCommand(Licht_Farbe_SZ_Iris, hsbValue) sendCommand(Licht_Farbe_SZ_Bloom_Links, hsbValue) sendCommand(Licht_Farbe_SZ_Bloom_Rechts, hsbValue)
This caused an failure -> [ERROR] [.script.engine.ScriptExecutionThread] - Rule ‘Hue Color Schlafzimmer’: org.eclipse.smarthome.core.library.types.HSBType
Was some one able to switch the color of an group of lights in OH2?
best regards René