BMW: Replace button entity with homeassistant service (#22452)

* Update bmw_connected_drive.markdown

* Remove unnecessary newline

* Update bmw_connected_drive.markdown

* Update bmw_connected_drive.markdown

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
This commit is contained in:
rikroe 2022-04-24 01:25:08 +04:00 committed by GitHub
parent 896bcd6ca4
commit e975bbd528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,9 +129,18 @@ The `button.<your_vehicle>_find_vehicle` button requests the vehicle to update t
</div>
### Update the state / refresh from API
## Update the state / refresh from API
The `button.<vehicle_model>_refresh_from_api` button fetches the last state of the vehicles of all your accounts from the BMW server. This does *not* trigger an update from the vehicle; it gets the data from the BMW servers. So this service does *not* interact with your vehicles.
To force a refresh from the BMW servers to Home Assistant, execute the `homeassistant.update_entity` service on an arbitrary entity such as the lock or any sensor.
```yaml
...
service: homeassistant.update_entity
target:
entity_id: binary_sensor.<your_vehicle>_windows
```
This does *not* trigger an update from the vehicle; it gets the data from the BMW servers, so this service does *not* interact with your vehicles.
## Disclaimer