home-assistant.io/source/_components/volvooncall.markdown
Klaas Schoute 2073f22319 Update Volvo on Call component configuration variable (#6672)
Update style of Volvo on Call component documentation to follow new configuration variables description.
Related to #6385.
2018-10-11 17:25:40 +02:00

2.2 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page Volvo On Call Instructions for how to integrate Volvo On Call into Home Assistant. 2016-10-02 17:00 true false true true volvo.png Car 0.39 Cloud Polling

The volvooncall component offers integration with the Volvo On Call cloud service and offers presence detection as well as sensors such as odometer and fuel level.

{% linkable_title Configuration %}

To use Volvo On Call in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
volvooncall:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD

Users registered with Volvo in North America or China will need to specify a region:

# North America
volvooncall:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  region: na

or

# China
volvooncall:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  region: cn

A more advanced example for setting the vehicle name and selecting what resources to display:

# Example configuration.yaml entry
volvooncall:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  name:
    abc123: 'Batmobile'
  resources:
    - doors
    - lock
    - heater

{% configuration %} username: description: The username associated with your Volvo On Call account. required: true type: string password: description: The password for your given Volvo On Call account. required: true type: string region: description: The region where the Volvo is registered. Needs to be set for users in North America or China. required: false type: string service_url: description: The service URL to use for Volvo On Call. Normally not necessary to specify. required: false type: string name: description: Make it possible to provide a name for the vehicles. required: false type: string resources: description: A list of resources to display (defaults to all available). required: false type: list scandinavian_miles: description: If set to true, Scandinavian miles ("mil") are used for distances and fuel range. required: false defaults: false type: boolean {% endconfiguration %}