zunoIsSleepLocked()

Checks if user code is ready to sleep. If user code is ready it doesn't go sleep immediately. The delay is depends on Z-Wave protocol tasks. So sometimes you need to go "back" to "non ready" state using zunoLockSleep() function.
zunoIsSleepLocked()
true if zunoSendDeviceToSleep() was called. zunoLockSleep()
zunoSendDeviceToSleep()

ZUNO_SETUP_SLEEPING_MODE()