diff --git a/custom_components/teslemetry/strings.json b/custom_components/teslemetry/strings.json index eb7c9c7..68670ee 100644 --- a/custom_components/teslemetry/strings.json +++ b/custom_components/teslemetry/strings.json @@ -355,9 +355,6 @@ "charge_state_charge_enable_request": { "name": "Charge" }, - "climate_state_defrost_mode": { - "name": "Defrost mode" - }, "vehicle_state_sentry_mode": { "name": "Sentry mode" }, @@ -365,10 +362,10 @@ "name": "Valet mode" }, "climate_state_auto_seat_climate_left": { - "name": "Steering wheel auto heater" + "name": "Left seat auto heater" }, "climate_state_auto_seat_climate_right": { - "name": "Steering wheel auto heater" + "name": "Right seat auto heater" }, "climate_state_auto_steering_wheel_heat": { "name": "Steering wheel auto heater" diff --git a/custom_components/teslemetry/switch.py b/custom_components/teslemetry/switch.py index fc845ba..7bdb3f6 100644 --- a/custom_components/teslemetry/switch.py +++ b/custom_components/teslemetry/switch.py @@ -51,6 +51,18 @@ class TeslemetrySwitchEntityDescription(SwitchEntityDescription): off_func=lambda api: api.set_valet_mode(on=False), scopes=[Scopes.VEHICLE_CMDS] ), + TeslemetrySwitchEntityDescription( + key="climate_state_auto_seat_climate_left", + on_func=lambda api: api.remote_auto_seat_climate_request(0,True), + off_func=lambda api: api.remote_auto_seat_climate_request(0,False), + scopes=[Scopes.VEHICLE_CMDS] + ), + TeslemetrySwitchEntityDescription( + key="climate_state_auto_seat_climate_right", + on_func=lambda api: api.remote_auto_seat_climate_request(1,True), + off_func=lambda api: api.remote_auto_seat_climate_request(1,False), + scopes=[Scopes.VEHICLE_CMDS] + ), TeslemetrySwitchEntityDescription( key="climate_state_auto_steering_wheel_heat", on_func=lambda api: api.remote_auto_steering_wheel_heat_climate_request(on=True),