Home Assistant’s Schlage connection adds scheduled access codes for guests or people visiting to carry out work. The add-code action accepts a start and end time, so the code only works during that window without an automation having to delete it afterwards.

Calls without either time continue to create permanent codes. The code-list action also returns each code’s identifier and schedule, making temporary access visible to automations.