Fix MQTT lights tests using STATE_OFF (#67011)

This commit is contained in:
Mike Degatano 2022-02-22 01:52:31 -05:00 committed by GitHub
parent 23fdf9eef8
commit a51d9012ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3617,7 +3617,7 @@ async def test_sending_mqtt_brightness_command_with_template(hass, mqtt_mock):
await hass.async_block_till_done()
state = hass.states.get("light.test")
assert state.state == STATE_OFF
assert state.state == STATE_UNKNOWN
await common.async_turn_on(hass, "light.test", brightness=100)
@ -3655,7 +3655,7 @@ async def test_sending_mqtt_effect_command_with_template(hass, mqtt_mock):
await hass.async_block_till_done()
state = hass.states.get("light.test")
assert state.state == STATE_OFF
assert state.state == STATE_UNKNOWN
await common.async_turn_on(hass, "light.test", effect="colorloop")