not sure why this error is being thrown:
[app:2] 2018-07-06 05:53:00.299:errorgroovy.lang.MissingMethodException: No signature of method: java.lang.String.call() is applicable for argument types: (com.hubitat.hub.domain.Event) values: [com.hubitat.hub.domain.Event@58a99189] Possible solutions: wait(), any(), wait(long), any(groovy.lang.Closure), take(int), each(groovy.lang.Closure) (sunriseEventHandler)
here is the subscribe statement:
if (…) subscribe(location, "sunrise", sunriseEventHandler);
and the function definition:
def sunriseEventHandler() {
…
}
thank you.