Smart Virtual Thermostat (beta version)

I only can find this part of code

Heating_Mode.allMembers.forEach[i|
					logInfo("svt2","retrigger {} with {}",i.name,i.state)
					i.sendCommand(i.state as Number)
					] 

Here i is unkown. There is a discusion here that talks about the same problem.
But strange enough, I’ve used the Design Pattern: Working with Groups in Rules post to create them and there is no mention of this problem in the example.