Set defaults in the Config on first launch, then update it as it
transitions to IDLE (only if its changed).
This should make the module more resistant to power loss and resets so
it doesn't lose position.
Add adjusting topic to allow for tweaking the open/close endpoints.
Improved the state handling/transitions so that it will only change
states when IDLE.