Hi, New user here.
I have set-up my first flow to control a tuya based fan that has been flashed with tasmota.
I have a flow that checks the fan state ie if I use the buttons on the fan to change the speed, it reports back to via mqtt to node red then Home assistant.
Another flow that can adjust the fan state based on the input/outputs from home assistant sent via node red/mqtt.
The issue im having is that when I change say the fan speed with the button on the fan, it updates the status of the fan in home assistant but due to the state change in home assistant it then sends out the command back to the fan to say the new speed which is actually the current speed that I set via the button... looking for some help/advice on how I can stop this from happening.