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(HA): remove button name if device_class is present #21726

Merged
merged 4 commits into from
Mar 8, 2024

Conversation

mrskycriper
Copy link
Contributor

@mrskycriper mrskycriper commented Mar 8, 2024

Currently device_class for buttons doesn't affect entity name generation on the Home Assistant side, this PR fixes that.

Also fixes consumer_connected device class. Entity category was removed as it is already set in exposes.

@Koenkk Koenkk merged commit 14e0440 into Koenkk:dev Mar 8, 2024
8 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Mar 8, 2024

Thanks!

@mrskycriper mrskycriper deleted the ha-button-device-class-fix branch March 8, 2024 21:40
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.

2 participants