Sounds like buggy firmware. If the device is not compatible with esphome or tasmota only the manufacture can help wit an update fixing the bug(s). Sadly most vendors are not interesting in the stufstuff they sold yesterday and rather want your hardware ending as landfill and for you to buy again!
I learned my lesson and avoid every every black box device like ZigBee ones for example and nowadays buy only hardware I can fix myself because it’s running esphome!