Also make sure it’s not read only, toggle that on and then off in the stateDescription.
Also check the semantic tags. The widget MainUI tried to choose is based on the Item Type, stateDescription, and the semantic tags. For example, of the tags include something like “Measurement” MainUI is going to assume it’s a sensor.
In the worst case scenario you can define the default list item widget yourself.