Sorry for any vagueness. I had logged everything out to get to this point and this is the last piece I’m not sure how to break down and test.
The rule is triggering and I have been monitoring the logs, but no further errors are being shown.
I added a log to this filter at the end so it looks like
logInfo("Updated Calculated Color", "Running Color Temp Update")
gAll_Lights_Brightness.members.filter[i|(i.state as Number) > 0].forEach[item|
And in the logs, when the rule triggers, I get a log line for each light that is on which looks like
[INFO ] [openhab.core.model.script.loggerName] - BackRoom_Ceiling_Light_Brightness (Type=DimmerItem, State=100, Label=Brightness, Category=slider, Tags=[Control, Light], Groups=[BackRoom_Ceiling_Light, gAll_Lights_Brightness, gAll_Lights_OnOff, gSelection_ItemsToRestoreOnStartUp])
I believe this is the full item object being listed from the first filter. But I can’t see how I get from this to the second part, changing _Brightness for _ColorTemperature to get the right item name.
newState is the new state of the CalculatedColorTemperature item that triggers the rule