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

fix: set sensor device class #292

Merged
merged 1 commit into from
Oct 22, 2022
Merged

Conversation

shred86
Copy link
Collaborator

@shred86 shred86 commented Oct 22, 2022

Change

  • Specify device class for sensors to allow users to specify the unit of measurement for each entity.

Details

@alandtse
Copy link
Owner

Please note, it's not just the PR title that should follow the convention. It's the actual commit itself. There are plugins that help enforce this like comittizen. I'm squashing these to fix these for you, but once you figure it out you can just start merging.

@alandtse alandtse merged commit 658295f into alandtse:dev Oct 22, 2022
@shred86 shred86 deleted the set-device-class branch October 26, 2022 15:19
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.

No longer shows in Miles only km
2 participants