added instructions to disable phone bluetooth + added debug flag to h… (#36389)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Régis Tremblay Lefrançois 2024-12-22 18:36:33 -05:00 committed by GitHub
parent 519e1840cc
commit 500fa0d3ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ ha_release: 2024.8
ha_iot_class: Cloud Polling
ha_config_flow: true
ha_codeowners:
- '@Bre77'
- "@Bre77"
ha_domain: tesla_fleet
ha_platforms:
- binary_sensor
@ -69,11 +69,21 @@ You will need to use Tesla's [command line tools](https://github.com/teslamotors
```shell
tesla-keygen -key-file tesla_fleet.key create > tesla_fleet.pem
tesla-control -ble -key-file tesla_fleet.key -vin VINVINVINVIN add-key-request tesla_fleet.pem owner cloud_key
tesla-control -ble -key-file tesla_fleet.key -vin VINVINVINVIN -debug add-key-request tesla_fleet.pem owner cloud_key
```
Finally, copy `tesla_fleet.key` to your Home Assistant config directory and then reload the Tesla Fleet {% term integration %}.
{% note %}
If you receive a "BLE connection attempt failed" error, follow these steps:
1. Disable Bluetooth on your phone
2. Execute the `tesla-control` command
3. Re-enable Bluetooth after the command completes
This is necessary because the tool cannot establish a connection while another Bluetooth device is connected to the car.
{% endnote %}
## Entities
These are the entities available in the Tesla Fleet integration. Not all entities are enabled by default, and not all values are always available.
@ -81,7 +91,7 @@ These are the entities available in the Tesla Fleet integration. Not all entitie
### Vehicles
| Domain | Name | Enabled |
|---|---|---|
| -------------- | ------------------------------------------ | ------- |
| Binary sensor | Battery heater | No |
| Binary sensor | Cabin overheat protection actively cooling | No |
| Binary sensor | Charge cable | Yes |
@ -173,7 +183,7 @@ These are the entities available in the Tesla Fleet integration. Not all entitie
### Energy sites
| Domain | Name | Enabled |
|---|---|---|
| ------------- | ------------------------ | ------- |
| Binary sensor | Backup capable | Yes |
| Binary sensor | Grid services active | Yes |
| Binary sensor | Grid services enabled | Yes |
@ -201,7 +211,7 @@ These are the entities available in the Tesla Fleet integration. Not all entitie
### Wall connector
| Domain | Name | Enabled |
|---|---|---|
| ------ | ----------- | ------- |
| Sensor | Fault state | No |
| Sensor | Power | Yes |
| Sensor | State | Yes |