Closed querdenker2k closed 1 year ago
@seime can you tell my what's wrong with the EventPublisher injection?
I am getting an error: Unresolved requirement: Import-Package: org.openhab.core.automation.internal
Not really sure. But it is referring to an internal package which probably isn't exported (a star import has been added; import org.openhab.core.automation.*; )
Got it, imported another class from .internal. which i didn't recognized.
sorry, class was just a copy paste from oh core. removed all unused code for jrule now.
needed for metrics e. g.
openhab_rule_runs_total{metric="openhab.core.metric.rules",openhab_core_metric="true",rule="Weather.weatherOverview",rulename="Weather overview",} 62.0