Support configurable binary state icons by users adding (new/custom) device classes based on an existing device class. This is to simplify custom binary state icon, colors, and value labels without need to code or custom UI add-ons.
A possible implementation:
- Add “Custom Device Classes” tab next to the “Helpers” tab. This would display a list of custom device classes and a “Add” button.
- Initially, only support binary sensors.
- A new class configuration would include:
- Base device class (list) - This defines defaults and must be provided. Only standard classes are listed.
- For ON & OFF
- Icons - maybe just this
- Colors (?)
- Labels (?)