Access to getSunriseAndSunset() …

… not available from driver code?

[dev:311] 2018-04-29 11:05:14.177:errorNo signature of method: dev1525024633904938507883.getSunriseAndSunset() is applicable for argument types: () values: [] on line 409

thanks.

I also have the same request - please can we get the sunrise/sunset function available from a driver?

My use case is a weather driver: it has a variable for a weather icon (clear/cloudy/etc), which I'd like to be able to set differently for day (sun) & night (moon).

Just discovered we can access location.sunrise and location.sunset in a driver - no need for the function :smile: