Skip to content

Commit

Permalink
fix: follow _ naming convention for parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nolteerik committed Jan 13, 2025
1 parent 270e449 commit da66f3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions custom_components/kia_uvo/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def async_handle_start_climate(call):
front_right_seat = call.data.get("frseat")
rear_left_seat = call.data.get("rlseat")
rear_right_seat = call.data.get("rrseat")
steering_wheel = call.data.get("steeringWheel")
steering_wheel = call.data.get("steering_wheel")

# Confirm values are correct datatype
if front_left_seat is not None:
Expand All @@ -105,7 +105,7 @@ async def async_handle_start_climate(call):
front_right_seat=front_right_seat,
rear_left_seat=rear_left_seat,
rear_right_seat=rear_right_seat,
steeringWheel=steering_wheel,
steering_wheel=steering_wheel,
)
await coordinator.async_start_climate(vehicle_id, climate_request_options)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/kia_uvo/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ start_climate:
value: "4"
- label: "Rear Window Only"
value: "2"
steeringWheel:
steering_wheel:
required: false
example: 1
default: 0
Expand Down
2 changes: 1 addition & 1 deletion custom_components/kia_uvo/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"name": "Heating",
"description": "Heated features like front/rear windows and side mirrors"
},
"steeringWheelStep": {
"steering_wheel": {
"name": "Steering Wheel Heat",
"description": "Heating level for the steering wheel"
},
Expand Down

0 comments on commit da66f3d

Please sign in to comment.