Skip to content

Commit

Permalink
Doc: template sensor for vehicle_in_motion (#490)
Browse files Browse the repository at this point in the history
Fixes #471
  • Loading branch information
dvx76 authored Dec 25, 2024
1 parent 9f8cb4c commit 003a1ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,15 @@ If your desired language is not available, please [open an issue](https://github

### Device Tracker

Location of vehicles are exposed as device trackers.
Location of vehicles are exposed as device trackers. While the vehicle is moving the Skoda API does not return GPS coordinates and the device tracker will report the location `vehicle_in_motion`.

If you need a binary sensor to report if the vehicle is in motion this can be achieve using a template binary sensor for e.g.

```
{% if states('device_tracker.skoda_enyaq_position') == 'vehicle_in_motion' %}
True
{% endif %}
```

## Sending updates

Expand Down

0 comments on commit 003a1ce

Please sign in to comment.