How to apply
Open the device web UI → Tools → Console and paste the Backlog line: the commands run in order and the device restarts. In Home Assistant add the Tasmota integration; it finds devices over MQTT. Need a broker: Mosquitto config. Watch the topics: MQTT client. An alternative configured in YAML: ESPHome.