Xiaomi Wireless Switch/Dorr Switch Issues

So I have issue with xiaomi switch is not longer being detected in home assistant, when I check the history it show the button was never clicked but on xiaomi there is log of button press. I know the automation is working because I started to have this issue when I moved my xiaomi gateway and hassio onto different vlans. I mean motion detector works fine. I have check log but it empty, nothing related to xiaomi.