```console Backlog Rule1 on tuyareceived#dptype4id3 do publish stat/%topic%/speed %value% endon; Rule1 1 ```
Run a rule for manual discovery of the fan ```console {% raw %}Rule2 on system#boot do publish2 homeassistant/fan/%macaddr%/%topic%/config {"name":"%topic% Fan","state_topic":"stat/%topic%/RESULT","state_value_template":"{{ value_json.POWER1 }}","command_topic":"cmnd/%topic%/POWER1","payload_on":"ON","payload_off":"OFF","percentage_state_topic":"stat