Skip to content

Add latitude/longitude attributes for Map card support - #13

Open
Co0p3r21 wants to merge 1 commit into
functionpointer:masterfrom
Co0p3r21:master
Open

Add latitude/longitude attributes for Map card support#13
Co0p3r21 wants to merge 1 commit into
functionpointer:masterfrom
Co0p3r21:master

Conversation

@Co0p3r21

Copy link
Copy Markdown

Renamed the sensor's lat/lon attributes to latitude/longitude. Per the official Home Assistant Map card docs, only entities with attributes named exactly latitude/longitude get rendered on the map, so this was a blocker for showing the entity there.

With this change the sensor can be dropped straight into a type: map card (or picked up automatically via show_all: true).

A pre-release (v1.2.6) is up so this can be test-driven before merge. Grab it and add the entity to a map card to confirm the marker shows up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant