Add support for flux_led 0xA2 devices (#60361)

This commit is contained in:
J. Nick Koston 2021-11-25 14:20:34 -06:00 committed by GitHub
parent e5d8c69a92
commit d504c1e3e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 7 deletions

View file

@ -121,7 +121,7 @@ async def test_original_addressable_light_effect_speed(hass: HomeAssistant) -> N
)
config_entry.add_to_hass(hass)
bulb = _mocked_bulb()
bulb.original_addressable = True
bulb.speed_adjust_off = False
bulb.raw_state = bulb.raw_state._replace(
model_num=0xA1
) # Original addressable model