Split out mopar into multiple platforms (#9068)

* Split out mopar into multiple platforms

* 🔥 Removed unnecessary redirects
This commit is contained in:
Rohan Kapoor 2019-03-30 01:44:55 -07:00 committed by Paulus Schoutsen
parent dd0514c3d4
commit a960d52e78

View File

@ -8,17 +8,23 @@ comments: false
sharing: true sharing: true
footer: true footer: true
logo: mopar.png logo: mopar.png
ha_category: Car ha_category:
- Car
- Sensor
- Switch
- Lock
ha_release: 0.53 ha_release: 0.53
ha_iot_class: Cloud Polling ha_iot_class: Cloud Polling
redirect_from: redirect_from:
- /components/sensor.mopar/ - /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 - 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 %} ## {% linkable_title Setup %}
@ -26,15 +32,14 @@ Be sure you have a [mopar.com](http://mopar.com) account with your vehicle(s) re
## {% linkable_title Configuration %} ## {% 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 ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: mopar:
- platform: mopar username: YOUR_USERNAME
username: YOUR_USERNAME password: YOUR_PASSWORD
password: YOUR_PASSWORD pin: YOUR_UCONNECT_PIN
pin: YOUR_UCONNECT_PIN
``` ```
{% configuration %} {% configuration %}
@ -54,16 +59,15 @@ pin:
## {% linkable_title Service %} ## {% 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. | Service data attribute | Description |
- **command** (*Required*): One of `LOCK/UNLOCK/START/STOP/HORN_LIGHT`. | `vehicle_index` | The index of the vehicle to trigger. This is exposed in the sensor's device attributes. |
Example data: Example data:
```json ```json
{ {
"vehicle_index": 0, "vehicle_index": 0
"command": "unlock"
} }
``` ```