Hi,
In my OpenHab project I am using the action “getElevation” to get the sun position in 30 minutes.
This is the code extract so far:
import java.time.ZonedDateTime
[...]
val sunActions = getActions("astro", "astro:sun:home")
var timeIn30Minutes = ZonedDateTime.now.plusMinutes(30)
var elevation_30min = sunActions.getElevation(timeIn30Minutes)
[...]
This seems to work but in the log viewer I get the following error message:
The method getElevation(ThingActions, ZonedDateTime) from the type AstroActions refers to the missing type Object
Does anybody has an idea what could be wrong and how to solve it?
Thank you!
Andreas