Add Plugwise climate preset translations (#84617)
parent
dea513cdbd
commit
a83d577b42
|
@ -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,
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue