From 37521ffa376c335590e1cc9731e28c19037fd447 Mon Sep 17 00:00:00 2001 From: Rohan Kapoor Date: Sat, 30 Mar 2019 01:44:55 -0700 Subject: [PATCH] Split out mopar into multiple platforms (#9068) * Split out mopar into multiple platforms * :fire: Removed unnecessary redirects --- .../{sensor.mopar.markdown => mopar.markdown} | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) rename source/_components/{sensor.mopar.markdown => mopar.markdown} (53%) diff --git a/source/_components/sensor.mopar.markdown b/source/_components/mopar.markdown similarity index 53% rename from source/_components/sensor.mopar.markdown rename to source/_components/mopar.markdown index e3ef5772f8c..61ccb5e898c 100644 --- a/source/_components/sensor.mopar.markdown +++ b/source/_components/mopar.markdown @@ -8,15 +8,23 @@ comments: false sharing: true footer: true logo: mopar.png -ha_category: Car +ha_category: + - Car + - Sensor + - Switch + - Lock ha_release: 0.53 ha_iot_class: Cloud Polling +redirect_from: + - /components/sensor.mopar/ --- -The `mopar` sensor provides the following for owners of FCA vehicles with a uConnect subscription: +The `mopar` component provides the following for owners of FCA vehicles with a uConnect subscription: - Sensor per vehicle with vehicle health report and other meta-data -- Service for remote commands: Lock/unlock, Engine on/off, Horn & lights +- Lock per vehicle allowing to lock/unlock the vehicle +- Switch per vehicle allowing to turn the engine on and off +- A service for running the horn & lights ## {% linkable_title Setup %} @@ -24,15 +32,14 @@ Be sure you have a [mopar.com](http://mopar.com) account with your vehicle(s) re ## {% linkable_title Configuration %} -To enable this sensor, add the following lines to your `configuration.yaml`. +To enable this component, add the following lines to your `configuration.yaml`. All platforms will be automatically loaded. ```yaml # Example configuration.yaml entry -sensor: - - platform: mopar - username: YOUR_USERNAME - password: YOUR_PASSWORD - pin: YOUR_UCONNECT_PIN +mopar: + username: YOUR_USERNAME + password: YOUR_PASSWORD + pin: YOUR_UCONNECT_PIN ``` {% configuration %} @@ -52,16 +59,15 @@ pin: ## {% linkable_title Service %} -Call the `sensor.mopar_remote_command` service to perform a remote command on your vehicle. +Call the `mopar.sound_horn` service to sound the horn and flash the lights on your vehicle. -- **vehicle_index** (*Required*): `vehicle_index` attribute found on sensor. -- **command** (*Required*): One of `LOCK/UNLOCK/START/STOP/HORN_LIGHT`. +| Service data attribute | Description | +| `vehicle_index` | The index of the vehicle to trigger. This is exposed in the sensor's device attributes. | Example data: ```json { - "vehicle_index": 0, - "command": "unlock" + "vehicle_index": 0 } ```