When defining an MQTT topic and deselecting the « Is this a sensor » option, it is not always possible to display it on the dashboard in a « room device » or « device » widget. Two cases arise:
either the topic type was developed with a controller (this is the case, for example, for the types « temperature setpoint » or « lighting on/off »). Then the topic can be displayed, in the form of a component that allows modifying its value.
or the topic type was developed without a controller (this is the case, for example, for « integer counter », or « unknown », or « text » (I haven’t tested them all, but there are probably others)), and in that case you cannot choose it in a « room device » or « device » widget.
The enhancement consists of making it possible to display the second category of topics. A simple display will suffice by default, without a controller that would allow modifying the value. (If needed, controllers can be added later, and would then replace the simple display)
To illustrate, a concrete example: I want to monitor how many times per day my power outlet is turned on. So I created an MQTT topic of type « integer counter » that is incremented from a scene (trigger = state change of the plug). And I would like to display it, but it’s impossible today.