bkbilly / lnxlink

🖥 Effortlessly manage your Linux machine using MQTT.
https://bkbilly.gitbook.io/lnxlink
MIT License
274 stars 29 forks source link

Request: Allow Category for Bash `expose` commands #111

Closed jeremysherriff closed 4 months ago

jeremysherriff commented 4 months ago

Describe the solution you'd like

I would like to be able to specify the Home Assistant Category for custom bash sensors/buttons, in order for them to be grouped more appropriately in the HA Device page.

Additional context

HA allows for 3 categories; Config, Diagnostic, and Sensors. Currently, buttons are set as Config, and Sensors are set as Sensors. I would like to be able to set some sensors as Diagnostic if appropriate.

bkbilly commented 4 months ago

It should be easy to implement a sensor category. I'll look into it and I'll update you accordingly.

bkbilly commented 4 months ago

I've added the category choice which is between diagnostic and config.