Be signed in, the fast way: with the tokens the account got on its first sign-in of the run, given to the page as the app keeps them; else through the app's login flow. The scenarios about signing in use the form step.
Examples
Given I am signed in to the smart home as "admin"
Given we are signed in to the smart home as "admin"
And I am signed in to the smart home as "admin"
Given I am signed in to the smart home as "admin"
And we are signed in to the smart home as "admin"
Pattern
Given(/^(?:I am |we are )signed 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.