Some doorbells not functioning properly after heavy rains

Some doorbells not working after heavy rains
During the monsoon many home fixtures, appliances start malfunctioning
A major problem is observed for some types of wireless doorbells
When it rains heavily, the moisture levels are high, and the electronics may get affected
Even when the power supply is connected, no sound is heard when the bell is pressed. In a few cases, the bell may ring if it is pressed twice or thrice.
It appears that other models of doorbells have to be tested during heavy rainfall.