What I discovered is, that if I add state_topic with the same topic to the configuration and modify the topic from outside, the slider suddenly becomes available.
- name: "Test Number 1"
command_topic: "homeassistant/number/test1"
state_topic: "homeassistant/number/test1"
Understood, thanks!. It’s just, I don’t want to receive any data. Just wanna send (from HA to the broker). And according to the manuals, state_topic seems to be optional.