State value template in light mqtt

Hi!

I would integrate my domotic system in Home Assistant.
This system work with ‘1’ impulse to turn on/turn off the light. Example. Intitial state(light)=0; impulse ‘1’ -> state=1 (light on); impulse ‘1’ -> state=0(light off); etc…
There is a feedback with the fisical output of the light, when the light is off the light_state=0, when the light is on the light_state=1.
Which state_value_template for the state_topic I must indicate? The real mqtt light_state is 0 and 1 but for turn on and turn off my payload_on and payload_off for the command topic is only equal to 1 for turn off/on the lights.

Thank you.