Skip to content

Commit

Permalink
fix: Additional Translations Moved for Services
Browse files Browse the repository at this point in the history
  • Loading branch information
cdnninja committed Aug 13, 2023
1 parent 3003247 commit e0b9b09
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 36 deletions.
19 changes: 0 additions & 19 deletions custom_components/kia_uvo/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ start_climate:
device:
integration: kia_uvo
duration:
name: Duration
description: On Duration
required: false
example: 5
default: 5
Expand All @@ -32,15 +30,11 @@ start_climate:
step: 1
unit_of_measurement: minutes
climate:
name: Climate
description: Enable the HVAC System
required: true
default: true
selector:
boolean:
temperature:
name: Temperature
description: Set temperature of climate control. Unit is specific to region.
required: true
example: 21.5
default: 21
Expand All @@ -52,8 +46,6 @@ start_climate:
mode: box
unit_of_measurement: Degrees
defrost:
name: Defrost
description: Front Windshield Defrost
required: false
default: false
selector:
Expand Down Expand Up @@ -99,8 +91,6 @@ start_climate:
- label: "High Heat"
value: "8"
frseat:
name: Front Right Seat
description: Front Right Seat Heat Cool Setting
required: false
selector:
select:
Expand All @@ -122,8 +112,6 @@ start_climate:
- label: "High Heat"
value: "8"
rlseat:
name: Rear Left Seat
description: Rear Left Seat Heat Cool Setting
required: false
selector:
select:
Expand All @@ -145,8 +133,6 @@ start_climate:
- label: "High Heat"
value: "8"
rrseat:
name: Rear Right Seat
description: Rear Rear Seat Heat Cool Setting
required: false
selector:
select:
Expand Down Expand Up @@ -220,16 +206,13 @@ open_charge_port:
device:
integration: kia_uvo
set_charge_limits:
description: sets ac and dc charge capacity limits
fields:
device_id:
required: false
selector:
device:
integration: kia_uvo
dc_limit:
name: DC Charge limit
description: max charge capacity using DC charger
required: false
example: 50
default: 90
Expand All @@ -240,8 +223,6 @@ set_charge_limits:
step: 10
unit_of_measurement: '%'
ac_limit:
name: AC Charge limit
description: max charge capacity using AC charger
required: false
example: 50
default: 90
Expand Down
78 changes: 61 additions & 17 deletions custom_components/kia_uvo/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,21 @@
"unknown":"Unexpected error"
}
},
"options":{
"step":{
"init":{
"title":"Hyundai / Kia Connect - Configuration",
"data":{
"scan_interval":"Scan Interval (min)",
"force_refresh":"Force Refresh Interval (min)",
"no_force_refresh_hour_start":"No Force Refresh Start Hour",
"no_force_refresh_hour_finish":"No Force Refresh Finish Hour",
"enable_geolocation_entity":"Enable Geolocation Entity using OpenStreetMap",
"use_email_with_geocode_api":"Use your Kia email address for Geocode API - More Information: https://nominatim.org/release-docs/develop/api/Reverse/#other"
}
}
}
},
"services": {
"force_update": {
"name": "Force Update",
Expand Down Expand Up @@ -54,7 +69,43 @@
"device_id": {
"name": "Vehicle",
"description": "Target vehicle"
}
},
"duration": {
"name": "Duration",
"description": "On Duration"
},
"climate": {
"name": "Climate",
"description": "Enable the HVAC System"
},
"temperature": {
"name": "Temperature",
"description": "Set temperature of climate control. Unit is specific to region."
},
"defrost": {
"name": "Defrost",
"description": "Front Windshield Defrost"
},
"heating": {
"name": "Heating",
"description": "Heated features like the steering wheel and rear window"
},
"flseat": {
"name": "Front Left Seat",
"description": "Front Left Seat Heat Cool Setting"
},
"frseat": {
"name": "Front Right Seat",
"description": "Front Right Seat Heat Cool Setting"
},
"rlseat": {
"name": "Rear Left Seat",
"description": "Rear Left Seat Heat Cool Setting"
},
"rrseat": {
"name": "Rear Right Seat",
"description": "Rear Right Seat Heat Cool Setting"
}
}
}
,
Expand Down Expand Up @@ -135,23 +186,16 @@
"device_id": {
"name": "Vehicle",
"description": "Target vehicle"
}
}
}
},
"options":{
"step":{
"init":{
"title":"Hyundai / Kia Connect - Configuration",
"data":{
"scan_interval":"Scan Interval (min)",
"force_refresh":"Force Refresh Interval (min)",
"no_force_refresh_hour_start":"No Force Refresh Start Hour",
"no_force_refresh_hour_finish":"No Force Refresh Finish Hour",
"enable_geolocation_entity":"Enable Geolocation Entity using OpenStreetMap",
"use_email_with_geocode_api":"Use your Kia email address for Geocode API - More Information: https://nominatim.org/release-docs/develop/api/Reverse/#other"
}
},
"dc_limit": {
"name": "DC Charge limit",
"description": "max charge capacity using DC charger"
},
"ac_limit": {
"name": "AC Charge limit",
"description": "max charge capacity using AC charger"
}
}
}
}
}

0 comments on commit e0b9b09

Please sign in to comment.