Skip to content

Commit

Permalink
Doc: template sensor for vehicle_in_motion
Browse files Browse the repository at this point in the history
  • Loading branch information
dvx76 committed Dec 23, 2024
1 parent f3967c1 commit 8004b65
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 8004b65

Please sign in to comment.