Add Plugwise climate preset translations (#84617)

pull/84619/head
Franck Nijhof 2022-12-27 17:16:45 +01:00 committed by GitHub
parent dea513cdbd
commit a83d577b42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 1 deletions

View File

@ -41,8 +41,9 @@ async def async_setup_entry(
class PlugwiseClimateEntity(PlugwiseEntity, ClimateEntity):
"""Representation of an Plugwise thermostat."""
_attr_temperature_unit = UnitOfTemperature.CELSIUS
_attr_has_entity_name = True
_attr_temperature_unit = UnitOfTemperature.CELSIUS
_attr_translation_key = DOMAIN
def __init__(
self,

View File

@ -26,6 +26,21 @@
}
},
"entity": {
"climate": {
"plugwise": {
"state_attributes": {
"preset_mode": {
"state": {
"asleep": "Night",
"away": "Away",
"home": "Home",
"no_frost": "Anti-frost",
"vacation": "Vacation"
}
}
}
}
},
"select": {
"dhw_mode": {
"state": {

View File

@ -26,6 +26,21 @@
}
},
"entity": {
"climate": {
"plugwise": {
"state_attributes": {
"preset_mode": {
"state": {
"asleep": "Night",
"away": "Away",
"home": "Home",
"no_frost": "Anti-frost",
"vacation": "Vacation"
}
}
}
}
},
"select": {
"dhw_mode": {
"state": {