How to Set Persistent "on_time" for Sonoff ZBMini Using Zigbee2Mqtt

Hi everyone,
I’ve recently set up the Sonoff ZBMini switch using Zigbee2Mqtt, and everything is working as expected.
According to the device’s specifications (SONOFF ZBMINI control via MQTT | Zigbee2MQTT), it’s possible to send the ON command with additional parameters, specifically “on_time” and “off_wait_time.” These parameters control how long the switch stays ON and the cooldown time before it responds to new timed ON commands.

I can successfully send an MQTT message, and the light turns off automatically after 3 seconds:

action: mqtt.publish  
data:  
  qos: "0"  
  topic: zigbee2mqtt/Luce Sala 1/set  
  payload: "{\"state\" : \"ON\", \"on_time\" : 3}"

What I’d like to know is whether it’s possible to store the “on_time” value directly on the ZBMini so that the same behavior applies when the physical button is used to turn on the switch. Is there a way to make this setting persistent on the device?

I understand this could be easily achieved through a Home Assistant automation, but I’m looking for a solution that works independently of whether HA is running or not.

Thanks in advance for any tips or suggestions!

I don’t see a way to set this persistently on the device at all, but if your valve works at all with on_time then I guess you’re lucky, I can seem to get mine working at all. It just stays on.

oh… nevermind, I got it to work, seems the firmware is buggy and multiplies the number of seconds by ~10