diff --git a/homeassistant/components/switcher_kis/button.py b/homeassistant/components/switcher_kis/button.py index 64571f15af0..e9a1d1a2a89 100644 --- a/homeassistant/components/switcher_kis/button.py +++ b/homeassistant/components/switcher_kis/button.py @@ -48,7 +48,6 @@ THERMOSTAT_BUTTONS = [ SwitcherThermostatButtonEntityDescription( key="assume_on", translation_key="assume_on", - icon="mdi:fan", entity_category=EntityCategory.CONFIG, press_fn=lambda api, remote: api.control_breeze_device( remote, state=DeviceState.ON, update_state=True @@ -58,7 +57,6 @@ THERMOSTAT_BUTTONS = [ SwitcherThermostatButtonEntityDescription( key="assume_off", translation_key="assume_off", - icon="mdi:fan-off", entity_category=EntityCategory.CONFIG, press_fn=lambda api, remote: api.control_breeze_device( remote, state=DeviceState.OFF, update_state=True @@ -68,7 +66,6 @@ THERMOSTAT_BUTTONS = [ SwitcherThermostatButtonEntityDescription( key="vertical_swing_on", translation_key="vertical_swing_on", - icon="mdi:autorenew", press_fn=lambda api, remote: api.control_breeze_device( remote, swing=ThermostatSwing.ON ), @@ -77,7 +74,6 @@ THERMOSTAT_BUTTONS = [ SwitcherThermostatButtonEntityDescription( key="vertical_swing_off", translation_key="vertical_swing_off", - icon="mdi:autorenew-off", press_fn=lambda api, remote: api.control_breeze_device( remote, swing=ThermostatSwing.OFF ), diff --git a/homeassistant/components/switcher_kis/icons.json b/homeassistant/components/switcher_kis/icons.json new file mode 100644 index 00000000000..4d3576f1a99 --- /dev/null +++ b/homeassistant/components/switcher_kis/icons.json @@ -0,0 +1,30 @@ +{ + "entity": { + "button": { + "assume_on": { + "default": "mdi:fan" + }, + "assume_off": { + "default": "mdi:fan-off" + }, + "vertical_swing_on": { + "default": "mdi:autorenew" + }, + "vertical_swing_off": { + "default": "mdi:autorenew-off" + } + }, + "sensor": { + "remaining_time": { + "default": "mdi:av-timer" + }, + "auto_shutdown": { + "default": "mdi:progress-clock" + } + } + }, + "services": { + "set_auto_off": "mdi:progress-clock", + "turn_on_with_timer": "mdi:timer" + } +} diff --git a/homeassistant/components/switcher_kis/sensor.py b/homeassistant/components/switcher_kis/sensor.py index e9fa13fca8a..09a8383f5c8 100644 --- a/homeassistant/components/switcher_kis/sensor.py +++ b/homeassistant/components/switcher_kis/sensor.py @@ -40,12 +40,10 @@ TIME_SENSORS: list[SensorEntityDescription] = [ SensorEntityDescription( key="remaining_time", translation_key="remaining_time", - icon="mdi:av-timer", ), SensorEntityDescription( key="auto_off_set", translation_key="auto_shutdown", - icon="mdi:progress-clock", entity_registry_enabled_default=False, ), ]