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

Adding option to add entity category to certain sensors #238

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

pkscout
Copy link

@pkscout pkscout commented Mar 2, 2024

This adds another option to certain sensors called setEntityCategory. There is no checking on the char values, as Home Assistant will just ignore them if you set them to anything other than config or diagnostic. I ended up only doing a handful of sensors because most of the rest of the sensors don't make any sense as configs or diagnostics. So this option only exists for the following sensors:

  • sensor
  • binary sensor
  • button
  • number

Here's what it looks like in HA when you setup some diagnostic sensors:

Screenshot 2024-03-02 at 7 09 11 AM

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.

None yet

2 participants