mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Update initial translation for ViCare water heater entity (#104696)
This commit is contained in:
parent
b957c4e3ee
commit
ec647677e9
@ -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…
x
Reference in New Issue
Block a user