mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Create theme select entities on matrix devices (#122695)
Signed-off-by: Avi Miller <me@dje.li>
This commit is contained in:
parent
f563817b98
commit
146ec4e760
@ -50,7 +50,10 @@ async def async_setup_entry(
|
||||
LIFXInfraredBrightnessSelectEntity(coordinator, INFRARED_BRIGHTNESS_ENTITY)
|
||||
)
|
||||
|
||||
if lifx_features(coordinator.device)["multizone"] is True:
|
||||
if (
|
||||
lifx_features(coordinator.device)["multizone"] is True
|
||||
or lifx_features(coordinator.device)["matrix"] is True
|
||||
):
|
||||
entities.append(LIFXThemeSelectEntity(coordinator, THEME_ENTITY))
|
||||
|
||||
async_add_entities(entities)
|
||||
|
Loading…
x
Reference in New Issue
Block a user