Skip to content

Commit

Permalink
Don't use hardcoded value
Browse files Browse the repository at this point in the history
  • Loading branch information
golles committed Aug 31, 2024
1 parent 8946331 commit 2e9420a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automations/golf75.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
- alias: Set car location based on last known location from SQL sensor
service: device_tracker.see
data:
dev_id: golf_7_5
dev_id: "{{ device_tracker_id }}"
gps:
- '{{ states("sensor.golf_7_5_last_known_location").split(", ")[0] }}'
- '{{ states("sensor.golf_7_5_last_known_location").split(", ")[1] }}'
Expand Down

0 comments on commit 2e9420a

Please sign in to comment.