Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking Change: Make coordinate attributes all lower case for HA compatibility #2341

Merged

Conversation

dshokouhi
Copy link
Member

@dshokouhi dshokouhi commented Mar 4, 2022

Summary

This PR updates all attributes to be all lower case to match the HA expectation in order to fix: #2339

https://github.com/home-assistant/core/blob/777ae584d49e45a074f74cdff47f0706597907c8/homeassistant/const.py#L434-L435

While I am ok with going through all sensors updating the attributes what do we do about the notification sensors that do not follow that format?

https://github.com/home-assistant/iOS/blob/master/Sources/Shared/API/Webhook/Sensors/GeocoderSensor.swift#L95-L110

Breaking change because users who relied on these attributes will need to update their configuration

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#706

Any other notes

@JBassett
Copy link
Collaborator

JBassett commented Mar 5, 2022

I would at least update all the attributes on this sensor. We can leave the rest of the sensors for another time, but it's strange to only fix a couple.

@hmmbob
Copy link

hmmbob commented Mar 7, 2022

This has unexpected side effects - the device now shows twice on the map (1x device_tracker, 1x geocoded location sensor). See above issue

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

Successfully merging this pull request may close these issues.

location won't appear on map card / case sensitive
4 participants