Skip to content

Commit e6e01a8

Browse files
mpstephanapalp
authored andcommitted
Add service_url config option
Doc change for home-assistant/core#7919
1 parent 8a7da42 commit e6e01a8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

source/_components/volvooncall.markdown

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,23 @@ volvooncall:
2424
password: password
2525
```
2626
27+
Users registered with Volvo in North America or China will need to specify a service url:
28+
29+
```yaml
30+
# North America
31+
volvooncall:
32+
username: username
33+
password: password
34+
service_url: 'https://vocapi-na.wirelesscar.net/customerapi/rest/v3.0/'
35+
```
36+
```yaml
37+
# China
38+
volvooncall:
39+
username: username
40+
password: password
41+
service_url: 'https://vocapi-cn.wirelesscar.net/customerapi/rest/v3.0/'
42+
```
43+
2744
A more advanced example for setting the vehicle name and selecting what resources to display:
2845
2946
```yaml
@@ -43,6 +60,7 @@ Configuration variables:
4360
4461
- **username** (*Required*): The username associated with your Volvo On Call account.
4562
- **password** (*Required*): The password for your given Volvo On Call account.
63+
- **service_url** (*Optional*): The service URL to use for Volvo On Call (defaults to https://vocapi.wirelesscar.net/customerapi/rest/v3.0/).
4664
- **name** (*Optional*): Make it possible to provide a name for the vehicles.
4765
- **resources** (*Optional*): A list of resources to display (defaults to all available).
4866

0 commit comments

Comments
 (0)