Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add services to Renault integration #18981

Merged
merged 4 commits into from
Sep 1, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions source/_integrations/renault.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,50 @@ You need two API keys: one for Gigya and one for Kamereon and they shouldn't be
{% include integrations/config_flow.md %}

All vehicles linked to the account should then get added as devices, with sensors added as linked entity.

## Services

### Service `renault.ac_start`

Start A/C on the specified vehicle by `vin`.
MartinHjelmare marked this conversation as resolved.
Show resolved Hide resolved

| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `vin` | yes | VIN of the vehicle |
| `temperature` | yes | Target A/C temperature in °C |
| `when` | no | Timestamp for the start of the A/C (optional - defaults to now) |
MartinHjelmare marked this conversation as resolved.
Show resolved Hide resolved

### Service `renault.ac_cancel`

Cancel A/C on the specified vehicle by `vin`.

| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `vin` | yes | VIN of the vehicle |

### Service `renault.charge_set_mode`

Set charge mode on the specified vehicle by `vin`.

| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `vin` | yes | VIN of the vehicle |
| `charge_mode` | yes | Charge mode to apply. Allowed values: `always`, `always_charging`, `schedule_mode` |

### Service `renault.charge_set_schedules`

Update charge schedule on the specified vehicle by `vin`.

| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `vin` | yes | VIN of the vehicle |
| `schedules` | yes | Schedule details. Can be a single schedule or a list of schedules |
MartinHjelmare marked this conversation as resolved.
Show resolved Hide resolved

### Service `renault.charge_start`

Start charge on the specified vehicle by `vin`.

| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `vin` | yes | VIN of the vehicle |