diff --git a/homeassistant/components/group/icons.json b/homeassistant/components/group/icons.json index e3084bf950d6..f79b1e3b24f7 100644 --- a/homeassistant/components/group/icons.json +++ b/homeassistant/components/group/icons.json @@ -1,4 +1,14 @@ { + "entity": { + "light": { + "light": { + "default": "mdi:lightbulb-group", + "state": { + "off": "mdi:lightbulb-group-off" + } + } + } + }, "services": { "reload": { "service": "mdi:reload" diff --git a/homeassistant/components/group/light.py b/homeassistant/components/group/light.py index ace3878655a3..68f922272b4c 100644 --- a/homeassistant/components/group/light.py +++ b/homeassistant/components/group/light.py @@ -147,7 +147,7 @@ class LightGroup(GroupEntity, LightEntity): """Representation of a light group.""" _attr_available = False - _attr_icon = "mdi:lightbulb-group" + _attr_translation_key = "light" _attr_max_color_temp_kelvin = 6500 _attr_min_color_temp_kelvin = 2000 _attr_should_poll = False diff --git a/tests/components/group/test_config_flow.py b/tests/components/group/test_config_flow.py index 8381079c728a..66d43dd74948 100644 --- a/tests/components/group/test_config_flow.py +++ b/tests/components/group/test_config_flow.py @@ -475,7 +475,6 @@ EVENT_ATTRS = [{"event_types": []}, {"event_type": None}] FAN_ATTRS = [{"supported_features": 0}, {}] LIGHT_ATTRS = [ { - "icon": "mdi:lightbulb-group", "supported_color_modes": ["onoff"], "supported_features": 0, },