diff --git a/homeassistant/components/renson/fan.py b/homeassistant/components/renson/fan.py index e6bd2717981..d15e14aa628 100644 --- a/homeassistant/components/renson/fan.py +++ b/homeassistant/components/renson/fan.py @@ -117,9 +117,9 @@ async def async_setup_entry( class RensonFan(RensonEntity, FanEntity): """Representation of the Renson fan platform.""" - _attr_icon = "mdi:air-conditioner" _attr_has_entity_name = True _attr_name = None + _attr_translation_key = "fan" _attr_supported_features = FanEntityFeature.SET_SPEED def __init__(self, api: RensonVentilation, coordinator: RensonCoordinator) -> None: diff --git a/homeassistant/components/renson/icons.json b/homeassistant/components/renson/icons.json new file mode 100644 index 00000000000..b7b1fdfdd8c --- /dev/null +++ b/homeassistant/components/renson/icons.json @@ -0,0 +1,24 @@ +{ + "entity": { + "fan": { + "fan": { + "default": "mdi:air-conditioner" + } + }, + "number": { + "filter_change": { + "default": "mdi:filter" + } + }, + "switch": { + "breeze": { + "default": "mdi:weather-dust" + } + } + }, + "services": { + "set_timer_level": "mdi:timer", + "set_breeze": "mdi:weather-windy", + "set_pollution_settings": "mdi:air-filter" + } +} diff --git a/homeassistant/components/renson/number.py b/homeassistant/components/renson/number.py index 344fa3ff0bd..972368298a6 100644 --- a/homeassistant/components/renson/number.py +++ b/homeassistant/components/renson/number.py @@ -26,7 +26,6 @@ _LOGGER = logging.getLogger(__name__) RENSON_NUMBER_DESCRIPTION = NumberEntityDescription( key="filter_change", translation_key="filter_change", - icon="mdi:filter", native_step=1, native_min_value=0, native_max_value=360, diff --git a/homeassistant/components/renson/switch.py b/homeassistant/components/renson/switch.py index a724dcc5530..8d639a64d48 100644 --- a/homeassistant/components/renson/switch.py +++ b/homeassistant/components/renson/switch.py @@ -22,7 +22,6 @@ _LOGGER = logging.getLogger(__name__) class RensonBreezeSwitch(RensonEntity, SwitchEntity): """Provide the breeze switch.""" - _attr_icon = "mdi:weather-dust" _attr_device_class = SwitchDeviceClass.SWITCH _attr_has_entity_name = True _attr_translation_key = "breeze"