rules.JsRule({...}); returns a HostRule, but HostRule is only defined as object with a documentation link to https://www.openhab.org/javadoc/latest/org/openhab/core/automation/rule.
It would be good if the complete type for HostRule would be provided.
rules.JsRule({...});returns aHostRule, butHostRuleis only defined asobjectwith a documentation link to https://www.openhab.org/javadoc/latest/org/openhab/core/automation/rule.It would be good if the complete type for
HostRulewould be provided.