mirror of
https://github.com/home-assistant/core.git
synced 2025-07-06 04:47:09 +00:00
12 lines
322 B
Python
12 lines
322 B
Python
"""The switch tests for the nexia platform."""
|
|
|
|
from homeassistant.const import STATE_ON
|
|
|
|
from .util import async_init_integration
|
|
|
|
|
|
async def test_hold_switch(hass):
|
|
"""Test creation of the hold switch."""
|
|
await async_init_integration(hass)
|
|
assert hass.states.get("switch.nick_office_hold").state == STATE_ON
|