And start fresh. Ever since I messed up the front door automations by trying to run Lock Code Manager, it’s become a cascade of silliness. So I’ll chalk up the first year+ of doing this to a learning experience.
Step 1 is to go through the relevant automations. All of them; the ones in SmartThings and the ones in Tasker. Decide which of them I will want to continue, and note the workflows of each.
Step 2 is to delete them.
Step 3 is to remove the Schlage lock from my environment, reset it to default state, and re-pair it so it installs the proper device handler in the correct fashion. Much as I like the idea of handling the user codes programmatically, it just did not want to work and it wrecked the automations. So I’ll go back to handling the user codes at the lock.
Step 4 is to rebuild the automations, one by one. Make it so it locks immediately upon the sensor being closed, and stays unlocked if the sensor is open. Then build from there such things as which lights go on/off when the door is unlocked, which other events might trigger the door to unloc, etc.