Set group on/off state directly (without condition)

I’d like to set a group state (on/off) from input text helper. Can I do that directly without condition?
I mean, that I can do this light group from input number helper:

   - service: light.turn_on
     target:
       entity_id: light.livingroomgroup
     data:
       brightness: '{{ states(''input_number.em_gardrobsz_led_fenyero'') | int }}'