The app shows its sidebar (signed in), or its sign-in page (signed out).
Examples
Then I should be signed in to the smart home
Then I should be signed out of the smart home
And we should be signed in to the smart home
Then we should be signed out of the smart home
And I should be signed out of the smart home
Pattern
Then(/^(?:I|we) should be signed (in to|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.