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
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 %}
@ -26,12 +32,11 @@ 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
mopar:
username: YOUR_USERNAME
password: YOUR_PASSWORD
pin: YOUR_UCONNECT_PIN
@ -54,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
}
```