Input text on a textbox on esphome webserver


Is it possible to put a text/string on a webpage on the webserver of esphome device and connect it to a variable which you can use in your esphome code?

Would a template select work for you? I haven’t used it just noticed it on the webserver page.

I don’t know if it is still open topic but you can use Template number 2
and add mode: box .

- platform: template
name: "Template number "
optimistic: true
min_value: 0
max_value: 100
step: 0.5
mode: box