arduino-home-assistant icon indicating copy to clipboard operation
arduino-home-assistant copied to clipboard

Adding option to add entity category to certain sensors

Open pkscout opened this issue 11 months ago • 1 comments

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

pkscout avatar Mar 02 '24 12:03 pkscout