[gps] Fix codegen deadlock when automations reference sibling sensors (#14365)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Jonathan Swoboda
2026-02-27 19:08:42 -05:00
committed by GitHub
parent 5c56b99742
commit 298ee7b92e
2 changed files with 25 additions and 26 deletions
+7
View File
@@ -1,8 +1,15 @@
gps:
latitude:
name: "Latitude"
id: gps_lat
on_value:
then:
- logger.log:
format: "%.6f, %.6f"
args: [id(gps_lat).state, id(gps_long).state]
longitude:
name: "Longitude"
id: gps_long
altitude:
name: "Altitude"
speed: