I have a Number entity created by localtuya. If I manually change the number value, localtuya sends a command to the device to update it.
However, if I change the number value using pyscript, localtuya does not send a command. A state_changed event is fired, but local_tuya does not appear to respond to it.
How can I, from pyscript, request localtuya to send a command to the device?