Meine bisherigen Bemühungen sind leider fehlgeschlagen. Die Regel sieht so aus:
Code: Alles auswählen
rule "Tasmota Groups"
when
Item Dummy_13 changed to ON // Test-Switch
then
tasmotas.members.forEach[ item | logInfo("Gruppen-Items", item.name + " = " + item.state.toString()) ]
end
Code: Alles auswählen
2025-09-21 12:38:40.683 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'tasmota_devices.rules', using it anyway:
There is no context to infer the closure's argument types from. Consider typing the arguments or put the closures into a typed context.Die Fehlermeldung beim Ausführen lautet:
Code: Alles auswählen
2025-09-21 12:51:28.963 [ERROR] [.handler.AbstractScriptModuleHandler] - Script execution of rule with UID 'tasmota_devices-1' failed: The name 'tasmotas' cannot be resolved to an item or type; line 17, column 4, length 8 in tasmota_devices