Controlling brightness with a text input - Message malformed: expected float

Device actions do not support templates.

Use the light turn on service call.

Some advice: What happens if I have to replace a device - #2 by tom_l