Add icon translations to aosmith (#111340)
* Add icon translations to aosmith * Add icon translations to aosmithpull/111379/head
parent
859c28fdb7
commit
4229f988e2
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"hot_water_availability": {
|
||||
"default": "mdi:water-thermometer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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(
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue