Sign out from the profile (the account's entry, last in the sidebar): Log out, and the app's question "Log out?"; wait for the sign-in page.
Examples
When I sign out of the smart home
When we sign out of the smart home
And I sign out of the smart home
Then I sign out of the smart home
When I sign out of the smart home
Pattern
When(/^(?:I |we )?sign out of the smart home$/, …)
Part of @webship-js/home-assistant-steps (github.com/webship/home-assistant-steps), a step pack for Webship-js 2.0.x.