diff --git a/homeassistant/components/lifx/select.py b/homeassistant/components/lifx/select.py index a1cfb4624d5..a89159968b1 100644 --- a/homeassistant/components/lifx/select.py +++ b/homeassistant/components/lifx/select.py @@ -16,10 +16,9 @@ INFRARED_BRIGHTNESS_ENTITY = SelectEntityDescription( key=INFRARED_BRIGHTNESS, name="Infrared brightness", entity_category=EntityCategory.CONFIG, + options=list(INFRARED_BRIGHTNESS_VALUES_MAP.values()), ) -INFRARED_BRIGHTNESS_OPTIONS = list(INFRARED_BRIGHTNESS_VALUES_MAP.values()) - async def async_setup_entry( hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback @@ -41,7 +40,6 @@ class LIFXInfraredBrightnessSelectEntity(LIFXEntity, SelectEntity): """LIFX Nightvision infrared brightness configuration entity.""" _attr_has_entity_name = True - _attr_options = INFRARED_BRIGHTNESS_OPTIONS def __init__( self, coordinator: LIFXUpdateCoordinator, description: SelectEntityDescription