Reduce flux_led light turn on complexity (#60139)
This commit is contained in:
parent
24779dea3b
commit
ce369bb336
2 changed files with 36 additions and 41 deletions
|
@ -1098,11 +1098,3 @@ async def test_addressable_light(hass: HomeAssistant) -> None:
|
|||
bulb.async_turn_on.assert_called_once()
|
||||
bulb.async_turn_on.reset_mock()
|
||||
await async_mock_device_turn_on(hass, bulb)
|
||||
|
||||
with pytest.raises(ValueError):
|
||||
await hass.services.async_call(
|
||||
LIGHT_DOMAIN,
|
||||
"turn_on",
|
||||
{ATTR_ENTITY_ID: entity_id, ATTR_BRIGHTNESS: 100},
|
||||
blocking=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue