update state handling so that manual state changes of the nuki (key or
button press) are reflected to the internal doorlock state. Refactor
general state handling to support this
Signed-off-by: Thomas Schmid <tom@lfence.de>
update state handling so that manual state changes of the nuki (key or
button press) are reflected to the internal doorlock state. Refactor
general state handling to support this
Signed-off-by: Thomas Schmid <tom@lfence.de>
Popen created an object that we need to wait for, run won't. Use a
pseudo-shell, and spawn the process in the background.
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>