Update HA-MQTT.md

This commit is contained in:
Michael Woods 2022-06-07 22:53:48 -04:00 committed by GitHub
parent a435e6cfbb
commit d3128f57e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ device_tracker:
your_car_name: homeassistant/device_tracker/YOUR_CAR_VIN/getlocation/state your_car_name: homeassistant/device_tracker/YOUR_CAR_VIN/getlocation/state
``` ```
script yaml: #### script yaml:
```yaml ```yaml
alias: Car - Location alias: Car - Location
sequence: sequence:
@ -29,7 +29,7 @@ Create a new dashboard, or use the cards in your own view. The `mdi:car-electric
![lovelace screenshot](images/lovelace.png) ![lovelace screenshot](images/lovelace.png)
script yaml: #### script yaml:
```yaml ```yaml
alias: Car - Start Vehicle alias: Car - Start Vehicle
sequence: sequence:
@ -40,8 +40,20 @@ sequence:
mode: single mode: single
icon: 'mdi:car-electric' icon: 'mdi:car-electric'
``` ```
#### Commands:
[OnStarJS Command Docs](https://github.com/samrum/OnStarJS#commands)
1. `getAccountVehicles`
2. `startVehicle`
3. `cancelStartVehicle`
4. `alert`
5. `cancelAlert`
6. `lockDoor`
7. `unlockDoor`
8. `chargeOverride`
9. `cancelChargeOverride`
10. `getLocation`
dashboard yaml: #### dashboard yaml:
```yaml ```yaml
views: views:
- badges: [] - badges: []
@ -171,6 +183,3 @@ views:
columns: 2 columns: 2
title: Bolt EV title: Bolt EV
``` ```
TODO
- Utility meter that resets for monthly LIFETIME ENERGY USED. This seems to only be updated after a full charge, along with other data points.