mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Migrate Plugwise translations (#83286)
This commit is contained in:
parent
63e8dd58ef
commit
f0f4e4595c
@ -49,20 +49,20 @@ SELECT_TYPES = (
|
|||||||
name="Regulation mode",
|
name="Regulation mode",
|
||||||
icon="mdi:hvac",
|
icon="mdi:hvac",
|
||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
|
translation_key="regulation_mode",
|
||||||
command=lambda api, loc, opt: api.set_regulation_mode(opt),
|
command=lambda api, loc, opt: api.set_regulation_mode(opt),
|
||||||
current_option_key="regulation_mode",
|
current_option_key="regulation_mode",
|
||||||
options_key="regulation_modes",
|
options_key="regulation_modes",
|
||||||
device_class="plugwise__regulation_mode",
|
|
||||||
),
|
),
|
||||||
PlugwiseSelectEntityDescription(
|
PlugwiseSelectEntityDescription(
|
||||||
key="select_dhw_mode",
|
key="select_dhw_mode",
|
||||||
name="DHW mode",
|
name="DHW mode",
|
||||||
icon="mdi:shower",
|
icon="mdi:shower",
|
||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
|
translation_key="dhw_mode",
|
||||||
command=lambda api, loc, opt: api.set_dhw_mode(opt),
|
command=lambda api, loc, opt: api.set_dhw_mode(opt),
|
||||||
current_option_key="dhw_mode",
|
current_option_key="dhw_mode",
|
||||||
options_key="dhw_modes",
|
options_key="dhw_modes",
|
||||||
device_class="plugwise__dhw_mode",
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -24,5 +24,26 @@
|
|||||||
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]",
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]",
|
||||||
"anna_with_adam": "Both Anna and Adam detected. Add your Adam instead of your Anna"
|
"anna_with_adam": "Both Anna and Adam detected. Add your Adam instead of your Anna"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"entity": {
|
||||||
|
"select": {
|
||||||
|
"dhw_mode": {
|
||||||
|
"state": {
|
||||||
|
"off": "Off",
|
||||||
|
"auto": "Auto",
|
||||||
|
"boost": "Boost",
|
||||||
|
"comfort": "Comfort"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"regulation_mode": {
|
||||||
|
"state": {
|
||||||
|
"bleeding_cold": "Bleeding cold",
|
||||||
|
"bleeding_hot": "Bleeding hot",
|
||||||
|
"cooling": "Cooling",
|
||||||
|
"heating": "Heating",
|
||||||
|
"off": "Off"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"state": {
|
|
||||||
"plugwise__regulation_mode": {
|
|
||||||
"bleeding_cold": "Bleeding cold",
|
|
||||||
"bleeding_hot": "Bleeding hot",
|
|
||||||
"cooling": "Cooling",
|
|
||||||
"heating": "Heating",
|
|
||||||
"off": "Off"
|
|
||||||
},
|
|
||||||
"plugwise__dhw_mode": {
|
|
||||||
"off": "Off",
|
|
||||||
"auto": "Auto",
|
|
||||||
"boost": "Boost",
|
|
||||||
"comfort": "Comfort"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -24,5 +24,26 @@
|
|||||||
"title": "Connect to the Smile"
|
"title": "Connect to the Smile"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"entity": {
|
||||||
|
"select": {
|
||||||
|
"dhw_mode": {
|
||||||
|
"state": {
|
||||||
|
"auto": "Auto",
|
||||||
|
"boost": "Boost",
|
||||||
|
"comfort": "Comfort",
|
||||||
|
"off": "Off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"regulation_mode": {
|
||||||
|
"state": {
|
||||||
|
"bleeding_cold": "Bleeding cold",
|
||||||
|
"bleeding_hot": "Bleeding hot",
|
||||||
|
"cooling": "Cooling",
|
||||||
|
"heating": "Heating",
|
||||||
|
"off": "Off"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user