It would be useful to schedule the local control of zwave light switches.
Unnecessary back story: I tried to disable local control on the switch and then setting up automations on receiving scene control from my inovelli switches but my toddler has observed my quadruple tap and has started button mashing the light switches, spamming the zwave protocol, and thwarting my attempts to automate around this inconvenience.
If there is a way to do this that I’ve missed, I’m open to corrections.
You can use the REST api. The URL is /api/zwave/protection/{nodeid}. The GUI uses the API. I don’t have any nodes I could test it with, but the code here is the the implementation of the API.