Then "Bed Light" should be on

The device is on, or off, as the app's server holds it; waited for.

Examples

Then "Bed Light" should be on
Then "Bed Light" should be off
And "Webship test switch" should be on
Then "Decorative Lights" should be off
And "Kitchen Lights" should be on

Pattern

Then(/^"([^"]*)" should be (on|off)$/, …)

Part of @webship-js/home-assistant-steps (github.com/webship/home-assistant-steps), a step pack for Webship-js 2.0.x.