Sign in through the sign-in page, the way a person does: its Username and Password, then Log in; wait for the app and its sidebar.
Examples
When I sign in to the smart home as "admin"
When we sign in to the smart home as "admin"
Given I sign in to the smart home as "admin"
And I sign in to the smart home as "admin"
When I sign in to the smart home as "admin"
Pattern
When(/^(?:I |we )?sign in to the smart home as "([^"]*)"$/, …)
Part of @webship-js/home-assistant-steps (github.com/webship/home-assistant-steps), a step pack for Webship-js 2.0.x.