Hi there!
I am using the Volvo on Call Binding. Since I migrated to the stable release of OH3, the binding seems not to trigger actions anymore properly.
The thing and the bridges are online, I also get information like location etc… just when I want to trigger the actions, it seems like the actions are not available anymore.
I use the following rule which is pretty much taken from the documentation:
rule "Fahrzeug klimatisieren"
when
Item iVoCKlimaImStand changed from OFF to ON or
Item iVoCKlimaImStand received command OFF
then
val actions = getActions("volvooncall","volvooncall:vehicle:XXXXX")
if(null === actions) {
logInfo("actions", "Actions not found, check thing ID")
return
}
else {
if (iVoCKlimaImStand.state == ON) {
actions.preclimatizationStartCommand()
logInfo("actions", "Preklima gestartet")
createTimer(now.plusMinutes(30), [ |
iVoCKlimaImStand.postUpdate(OFF)
])
}
else {
actions.preclimatizationStopCommand()
logInfo("actions", "Preklima gestoppt")
}
}
end
The error shown is:
2021-01-09 16:08:14.402 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'Fahrzeug-1' failed: 'preclimatizationStartCommand' is not a member of 'org.openhab.core.thing.binding.ThingActions'; line 13, column 13, length 24 in Fahrzeug
This also happens if I just replace the preclimatization command by several other commands, e.g. openCarCommand(). It was all working fine with OH2. logInfo(“actions”, “Actions not found, check thing ID”) is not triggered.
In the configuration it shows that prelimatization is available (“true”).
Someone has similar issues?
Thanks and best regards,
Matthias