Then the device "Bed Light" should show "Off"

A device's details show a text: its state as the app writes it ("Off", "71%", "Locked", "Closed"), or anything else they show. They are opened when they are not, and left open.

Examples

Then the device "Bed Light" should show "Off"
Then the device "Front Door" should show "Locked"
And the device "Kitchen Window" should show "Closed"
Then the device "Bed Light" should show "Brightness"
And the device "Webship test switch" should show "On"

Pattern

Then(/^the device "([^"]*)" should show "([^"]*)"$/, …)

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