-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
When configuring a iconify widget, I encountered an issue where entering certain text in the "Value" field resulted in the icon not rendering. After extensive debugging, I discovered that if the value matched the name of a selectable sensor, the draw function wouldn't receive the expected value. This behavior is controlled by the sensor boolean property in the configuration file. Disabling this property allowed the icon to render correctly.
To improve usability and avoid confusion:
- Add a checkbox next to the "Value" field to indicate whether the entered text is a sensor reference or not.
- If the user types a custom text, the checkbox should default to unchecked.
- If the user selects a value from the sensor list, the checkbox should default to checked.
- Allow users to manually toggle this checkbox to switch between using the field as a sensor reference or a plain text input.
This enhancement would make the behavior more intuitive and reduce the need for manual configuration changes in the underlying JSON file.
Metadata
Metadata
Assignees
Labels
No labels