Skip to content

Commit

Permalink
Move schedule example out of table
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored Sep 1, 2021
1 parent f4413b6 commit 233534b
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion source/_integrations/renault.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Update charge schedule on vehicle.
| Service data attribute | Required | Description | Example |
| ---------------------- | -------- | ----------- | ------- |
| `vehicle`| yes | device_id of the vehicle |
| `schedules` | yes | Schedule details. Can be a single schedule or a list of schedules | `[{'id':1,'activated':true,'monday':{'startTime':'T12:00Z','duration':15}},<br>{'id':2,'activated':false,'monday':{'startTime':'T12:00Z','duration':240}}<br>]` |
| `schedules` | yes | Schedule details. Can be a single schedule or a list of schedules | see [example below](#schedule_example) |

Notes:

Expand All @@ -62,6 +62,23 @@ Notes:
- the `activated` flag is an optional boolean. If it is not provided, then the existing flag will be kept as is.
- the `monday` to `sunday` elements are optional. If they are not provided, then the existing settings will be kept for each day. If they are provided as None, then the existing setting will be cleared. If a value is provided, it must conform to this format `{'startTime':'T12:00Z','duration':15}` where start time is in UTC format and the duration is in minutes.

<a name="schedule_example">Example</a>:

```yaml
[
{
'id': 1,
'activated': true,
'monday': {'startTime':'T12:00Z', 'duration':15}
},
{
'id': 2,
'activated': false,
'monday': {'startTime':'T12:00Z', 'duration':240}
},
]
```

### Service `renault.charge_start`

Start charge on vehicle.
Expand Down

0 comments on commit 233534b

Please sign in to comment.