Sonoff ZBMini-L randomly turning off?

Also see related discussion here:

https://community.home-assistant.io/t/sonoff-zbmini-l-zigbee-3-0-smart-switch-by-itead-works-without-neutral-wire-and-based-on-cc2652p-so-should-be-a-good-zigbee-router/384644/

FYI, ITead have just release a new firmware for Sonoff ZBMINI-L that is meant to address delay issues:

https://github.com/Koenkk/zigbee-OTA/tree/master/images/Sonoff

https://github.com/zigpy/zha-device-handlers/issues/1519

_Originally posted by @Daniel-zhan-itead in [Device Support Request] ZBMini-L delayed response after minutes of pairing. Workaround found on Zigbee2MQTT · Issue #1519 · zigpy/zha-device-handlers · GitHub

We have raised the pull request for the OTA update image on github Pull requests · Koenkk/zigbee-OTA · GitHub.
Once it is approved, you can download the image and update the ZBMINI-L devices.

_Originally posted by @Daniel-zhan-itead in [Device Support Request] ZBMini-L delayed response after minutes of pairing. Workaround found on Zigbee2MQTT · Issue #1519 · zigpy/zha-device-handlers · GitHub

Feature: Added Poll Control Cluster private attribute 0xFF00 (enable/disable configuration), the default Poll Control Cluster initial configuration is disabled
Bugfix: Random shutdown issue