LCN Forum

Normale Version: openHAB: getActions funktioniert nicht mehr...
Sie sehen gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Hallo zusammen,

seit meinem Update auf OH 4.0.3 funktioniert die Funktion getActions bei mir nicht mehr.

Syntax bei mir ist:
val actions = getActions("lcn","lcn:module:edb2e504:S000M019")
val T_akt = String::format("%.1f",(OWMLocalWeatherAndForecastCurrentTemperature.state as QuantityType<Number>).floatValue)
val T_max = String::format("%.1f",(OWMLocalWeatherAndForecastForecastTodayMaxTemperature.state as QuantityType<Number>).floatValue)
val zeile_1 = (T_akt + " °C   (" + T_max + " °C)")
actions.sendDynamicText(1, zeile_1)


Fehlermeldung ist:
[ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'anzeige-3' failed: Cannot invoke "org.openhab.binding.lcn.internal.LcnModuleActions.sendDynamicText(int, String)" because "actions" is null in anzeige

Könnt Ihr das bestätigen? Kennt jemand die Ursache?
nach ein paar reboots von selbst geheilt.