Add translations to Plugwise regulation mode (#79597)

pull/79762/head
Franck Nijhof 2022-10-06 22:16:41 +02:00 committed by GitHub
parent 51e6d49451
commit 6111fb38a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 22 deletions

View File

@ -52,6 +52,7 @@ SELECT_TYPES = (
command=lambda api, loc, opt: api.set_regulation_mode(opt),
current_option_key="regulation_mode",
options_key="regulation_modes",
device_class="plugwise__regulation_mode",
),
)

View File

@ -0,0 +1,11 @@
{
"state": {
"plugwise__regulation_mode": {
"bleeding_cold": "Bleeding cold",
"bleeding_hot": "Bleeding hot",
"cooling": "Cooling",
"heating": "Heating",
"off": "Off"
}
}
}

View File

@ -10,11 +10,9 @@
"invalid_setup": "Add your Adam instead of your Anna, see the Home Assistant Plugwise integration documentation for more information",
"unknown": "Unexpected error"
},
"flow_title": "{name}",
"step": {
"user": {
"data": {
"flow_type": "Connection type",
"host": "IP Address",
"password": "Smile ID",
"port": "Port",
@ -22,26 +20,6 @@
},
"description": "Please enter",
"title": "Connect to the Smile"
},
"user_gateway": {
"data": {
"host": "IP Address",
"password": "Smile ID",
"port": "Port",
"username": "Smile Username"
},
"description": "Please enter",
"title": "Connect to the Smile"
}
}
},
"options": {
"step": {
"init": {
"data": {
"scan_interval": "Scan Interval (seconds)"
},
"description": "Adjust Plugwise Options"
}
}
}

View File

@ -0,0 +1,11 @@
{
"state": {
"plugwise__regulation_mode": {
"bleeding_cold": "Bleeding cold",
"bleeding_hot": "Bleeding hot",
"cooling": "Cooling",
"heating": "Heating",
"off": "Off"
}
}
}