Update initial translation for ViCare water heater entity (#104696)
This commit is contained in:
parent
78f1c0cb80
commit
5f549649de
2 changed files with 5 additions and 5 deletions
|
@ -283,8 +283,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"water_heater": {
|
"water_heater": {
|
||||||
"water": {
|
"domestic_hot_water": {
|
||||||
"name": "Water"
|
"name": "Domestic hot water"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -64,13 +64,13 @@ def _build_entities(
|
||||||
api: PyViCareDevice,
|
api: PyViCareDevice,
|
||||||
device_config: PyViCareDeviceConfig,
|
device_config: PyViCareDeviceConfig,
|
||||||
) -> list[ViCareWater]:
|
) -> list[ViCareWater]:
|
||||||
"""Create ViCare water entities for a device."""
|
"""Create ViCare domestic hot water entities for a device."""
|
||||||
return [
|
return [
|
||||||
ViCareWater(
|
ViCareWater(
|
||||||
api,
|
api,
|
||||||
circuit,
|
circuit,
|
||||||
device_config,
|
device_config,
|
||||||
"water",
|
"domestic_hot_water",
|
||||||
)
|
)
|
||||||
for circuit in get_circuits(api)
|
for circuit in get_circuits(api)
|
||||||
]
|
]
|
||||||
|
@ -81,7 +81,7 @@ async def async_setup_entry(
|
||||||
config_entry: ConfigEntry,
|
config_entry: ConfigEntry,
|
||||||
async_add_entities: AddEntitiesCallback,
|
async_add_entities: AddEntitiesCallback,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Set up the ViCare climate platform."""
|
"""Set up the ViCare water heater platform."""
|
||||||
api = hass.data[DOMAIN][config_entry.entry_id][VICARE_API]
|
api = hass.data[DOMAIN][config_entry.entry_id][VICARE_API]
|
||||||
device_config = hass.data[DOMAIN][config_entry.entry_id][VICARE_DEVICE_CONFIG]
|
device_config = hass.data[DOMAIN][config_entry.entry_id][VICARE_DEVICE_CONFIG]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue