deconz-rest-plugin icon indicating copy to clipboard operation
deconz-rest-plugin copied to clipboard

Fixed `permitjoin` being ignored in PUT request

Open bram-mkse opened this issue 3 years ago • 2 comments

Fixed the value of permitjoin in the JSON body in a PUT request to /api/<apikey>/config being ignored. It was ignored due to startSearchLights() and startSearchSensors() overriding gwPermitJoinDuration to gwNetworkOpenDuration.

Now both functions take a duration to specify the duration of the permit join commmand.

bram-mkse avatar Aug 08 '22 08:08 bram-mkse

This fixes #6234.

I recreated this pull request because I polluted the commit history in the other one by accident. I didn't know that would happen. Learned something new today.

bram-mkse avatar Aug 08 '22 08:08 bram-mkse

Lol, I had so much suprises with github too ^^

Smanar avatar Aug 08 '22 14:08 Smanar