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

Use device class for binary sensor friendly state to match frontend and core #4395

Merged

Conversation

dshokouhi
Copy link
Member

Summary

Use the device class for the friendly state translation when the domain is a binary sensor as those have unique states for on/off behavior.

Also updated our link to the proper HA frontend translation

Screenshots

Link to pull request in Documentation repository

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

Any other notes

ref: https://discord.com/channels/330944238910963714/562408603345092636/1237526500715266048

…/data/integration/Entity.kt

Co-authored-by: Joris Pelgröm <jpelgrom@users.noreply.github.com>
@jpelgrom jpelgrom merged commit 6e496c9 into home-assistant:master May 14, 2024
4 checks passed
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.

None yet

2 participants