From f2bc00ec3f67695dc7045c9b5a1ec5f392094526 Mon Sep 17 00:00:00 2001 From: y34hbuddy <47507530+y34hbuddy@users.noreply.github.com> Date: Tue, 6 Sep 2022 13:16:05 -0400 Subject: [PATCH] Refactor volvooncall to use ConfigFlow (#23743) * refactor volvooncall for ConfigFlow * Add back the list of available resources --- source/_integrations/volvooncall.markdown | 60 +---------------------- 1 file changed, 1 insertion(+), 59 deletions(-) diff --git a/source/_integrations/volvooncall.markdown b/source/_integrations/volvooncall.markdown index c1b30a2c7c8..096115f8173 100644 --- a/source/_integrations/volvooncall.markdown +++ b/source/_integrations/volvooncall.markdown @@ -20,65 +20,7 @@ ha_config_flow: true The `volvooncall` integration offers integration with the [Volvo On Call](https://www.volvocars.com/intl/why-volvo/human-innovation/future-of-driving/connectivity/volvo-on-call) cloud service and offers presence detection as well as sensors such as odometer and fuel level. -## Configuration - -To use Volvo On Call in your installation, add the following to your `configuration.yaml` file: - -```yaml -# 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: - -```yaml -# North America -volvooncall: - username: YOUR_USERNAME - password: YOUR_PASSWORD - region: na -``` - -or - -```yaml -# China -volvooncall: - username: YOUR_USERNAME - password: YOUR_PASSWORD - region: cn -``` - -{% 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 -mutable: - description: If set to true, include components that can make changes to the vehicle (unlock, start engine, start heater etc). - required: false - default: true - type: boolean -scandinavian_miles: - description: If set to true, Scandinavian miles ("mil") are used for distances and fuel range. - required: false - type: boolean - default: false -{% endconfiguration %} +{% include integrations/config_flow.md %} ### Available Resources