diff --git a/homeassistant/components/aosmith/icons.json b/homeassistant/components/aosmith/icons.json new file mode 100644 index 00000000000..e31a68464ce --- /dev/null +++ b/homeassistant/components/aosmith/icons.json @@ -0,0 +1,9 @@ +{ + "entity": { + "sensor": { + "hot_water_availability": { + "default": "mdi:water-thermometer" + } + } + } +} diff --git a/homeassistant/components/aosmith/sensor.py b/homeassistant/components/aosmith/sensor.py index e4a99a340de..e33c388af8b 100644 --- a/homeassistant/components/aosmith/sensor.py +++ b/homeassistant/components/aosmith/sensor.py @@ -33,7 +33,6 @@ STATUS_ENTITY_DESCRIPTIONS: tuple[AOSmithStatusSensorEntityDescription, ...] = ( AOSmithStatusSensorEntityDescription( key="hot_water_availability", translation_key="hot_water_availability", - icon="mdi:water-thermometer", device_class=SensorDeviceClass.ENUM, options=["low", "medium", "high"], value_fn=lambda device: HOT_WATER_STATUS_MAP.get( diff --git a/tests/components/aosmith/snapshots/test_sensor.ambr b/tests/components/aosmith/snapshots/test_sensor.ambr index d4376c64a01..1b3043a7f3e 100644 --- a/tests/components/aosmith/snapshots/test_sensor.ambr +++ b/tests/components/aosmith/snapshots/test_sensor.ambr @@ -19,7 +19,6 @@ 'attributes': ReadOnlyDict({ 'device_class': 'enum', 'friendly_name': 'My water heater Hot water availability', - 'icon': 'mdi:water-thermometer', 'options': list([ 'low', 'medium',