I would like to be able to change the state on my input.boolean to turn_on or to turn_off by changing the msg.payload that would somehow change de code in the data field. Why is this not working :{input_boolean.turn_on}. I need help understanding how to formulate the writing in this data field.
Thank you!