^

Themabewertung:
  • 18 Bewertung(en) - 2.17 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
openHAB: getActions funktioniert nicht mehr...
#1
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?
Zitieren
#2
nach ein paar reboots von selbst geheilt.
Zitieren


Gehe zu: