Electronic insert for domestic switching devices