This is what I’m sending to TagoIO through MQTT,
And lines 14-18 is the part of my script I’m having trouble with,
I’m trying to create the if else statement to change the array(pee) according to the value of the variable(feedback) that is being input and whenever I publish the payload from MQTT, this is what I get in live inspector,
I know that I’m writing lines 14-18 wrongly but I do not know the solution.
Any help no matter how small would be greatly appreciated, ty.