mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
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:
parent
896bcd6ca4
commit
e975bbd528
@ -129,9 +129,18 @@ The `button.<your_vehicle>_find_vehicle` button requests the vehicle to update t
|
|||||||
|
|
||||||
</div>
|
</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
|
## Disclaimer
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user