Add icon translations to aosmith (#111340)

* Add icon translations to aosmith

* Add icon translations to aosmith
pull/111379/head
Joost Lekkerkerker 2024-02-25 10:42:41 +01:00 committed by GitHub
parent 859c28fdb7
commit 4229f988e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,9 @@
{
"entity": {
"sensor": {
"hot_water_availability": {
"default": "mdi:water-thermometer"
}
}
}
}

View File

@ -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(

View File

@ -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',