I'm working on a sensor driver and am not that familiar with using the wakeup class.
For battery operating devices supporting wakeup, I know you can configure wakeup times using WakeUpIntervalSet, but if I haven't configured anything, is there a default wakeup? I.e., do I just need to provide a wakeup handler,i.e.,
void zwaveEvent(hubitat.zwave.commands.wakeupv2.WakeUpNotification cmd)
If the "WakeUpIntervalSet " must be done, where should this be placed -- I understand that it could be in the installed() method for use during device pairing, but what if I switch the driver -- where / when does it get called?
Any code examples would be appreciated!.