1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Include model name in flux_led discovery when available (#60105)

This commit is contained in:
J. Nick Koston
2021-11-22 20:21:46 -06:00
committed by GitHub
parent cb3b19b000
commit 4af5cde738
13 changed files with 184 additions and 77 deletions

View File

@@ -39,7 +39,7 @@ async def test_switch_on_off(hass: HomeAssistant) -> None:
await async_setup_component(hass, flux_led.DOMAIN, {flux_led.DOMAIN: {}})
await hass.async_block_till_done()
entity_id = "switch.az120444_aabbccddeeff"
entity_id = "switch.rgbw_controller_ddeeff"
state = hass.states.get(entity_id)
assert state.state == STATE_ON