Skip to content

Hide some sensors from unsupported devices #3740

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

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

dshokouhi
Copy link
Member

Summary

Hide some sensors that simply won't work in Automotive. Also hide battery manager if the device has no battery.

As these devices do not support the sensor they also wouldn't support for any registered intent so should be safe to continue hiding.

Screenshots

Link to pull request in Documentation repository

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

Any other notes

Copy link
Member

@jpelgrom jpelgrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, always returning in_vehicle for the activity sensor when using Automotive also would be an option ;)

Copy link
Member

@jpelgrom jpelgrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to improve the Automotive experience

@JBassett JBassett merged commit 9441380 into home-assistant:master Jul 31, 2023
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.

3 participants